Introduction
The \$RADD(n)\$ operation is defined as the sum of \$n + [\$ the number whose decimal representation are the decimal digits of \$n\$ in reverse order \$]\$, see A004086. After reversal, trailing zeros are lost. See Reverse-Then-Add Sequence and A056964.
Not all numbers can be represented as the result of a \$RADD\$ operation.
Examples
\$RADD(11) = 11 + 11 = 22\\ RADD(23) = 23 + 32 = 55\\ RADD(70) = 70 + 7 = 77\\ RADD(85) = 85 + 58 = 143\\ RADD(1100)= 1100 + 11 = 1111\$
Task
We are looking for a method that determines for a given number \$m\$, whether it can be represented with \$RADD\$, and if this is the case, then determines an argument \$n\$ such that \$m = RADD(n)\$, symbolically \$n = RADD^{-1}(m)\$
As a convention, the larger of the two summands shall be used as result, e.g., \$RADD^{-1}(55) = 32, RADD^{-1}(143) = 85\$
If more than one decomposition is possible, there is no preferred choice which one is used for the output.
Since the problem comes from the OEIS sequence A356648, only square numbers \$s=n^2\$ should be considered as a target.
Challenge
Write a function or a program that takes an integer \$n\gt0\$ as input and returns the \$RADD\$ decompositions \$RADD^{-1}(k_{i}^2)\$ of as many as possible further distinct square numbers \$k_{i}^2 \ge n^2\$ as the result, such that there are no numbers \$k'\$ with \$k_{i}<k'<k_{i+1}\$ whose squares \$k'^2\$ are also \$RADD\$-decomposable.
As \$n\$ increases, the obvious trivial method of looping through all candidates may become infeasible.
Winning criterion
The program that delivers the most consecutive terms represented by their decompositions after \$n=1101111\$ \$(1101111^2 = 220005934299 + 992439500022)\$ in a running time of \$300\$ s wins. If only one term is found, the combined running time to scan the range up to this term and to find its decomposition counts. fastest-code
Tests
With \$R2(n) := RADD^{-1}(n^2)\$
- Initial terms of A356648:
n = {2, 4, 11, 22, 25, 33, 101, 121, 141, 202, 222, 264, 303, 307, 451, 836, 1001} R2(2) = 2, (2^2 = 2 + 2) R2(22) = 341, (22^2 = 484 = 143 + 341) for all numbers \$n_i\le 1001\$ not in the list no \$RADD\$ decomposition exists.
- Range \$10^5\cdots 2\times 10^5\$
n = {100001, 101101, 102201, 103801, 105270, 109901, 110011, 111111, 111221, 112211, 120021, 121121, 122221, 125092, 125129, 133431, 138259, 148489, 161619, 165269, 171959, 200002} are the only numbers in this range for which \$RADD\$ decompositions exist.
- Some larger examples
n = 386221, n^2 = 149166660841 = 100166999840 + 48999661001, R2(386221)= 100166999840 n = 476311, n^2 = 226872168721 = 130002968690 + 96869200031, R2(476311) = 130002968690 n = 842336, n^2 = 709529936896 = 109600929995 + 599929006901, R2(842336) = 599929006901