OFFSET
1,2
LINKS
Giovanni Resta, Table of n, a(n) for n = 1..97 (terms < 1.6*10^25)
FORMULA
a(n) = A115761(n)^2.
EXAMPLE
The square root of 729 is 27. 27's digital reverse is 72. 72 appears in 729.
MATHEMATICA
fQ[n_] := StringPosition[ IntegerString[n^2], StringReverse@ IntegerString@ n] != {}; k = 1; lst = {}; While[k < 3879404, If[ fQ@k, AppendTo[lst, k^2]]; k++ ]; lst (* Robert G. Wilson v, Jul 28 2010 *)
drsrQ[n_]:=Module[{s=Sqrt[n]}, MemberQ[Partition[Reverse[ IntegerDigits[ n]], IntegerLength[ s], 1], IntegerDigits[s]]]; Select[Range[ 28*10^5]^2, drsrQ] (* Harvey P. Dale, Dec 15 2015 *)
CROSSREFS
KEYWORD
nonn,base
AUTHOR
Dominick Cancilla, Jul 27 2010
EXTENSIONS
More terms from Robert G. Wilson v, Jul 28 2010
Terms a(22) and beyond from Giovanni Resta, May 04 2020
STATUS
approved