OFFSET
1,2
EXAMPLE
297 is in the sequence, because 297^2 = 88209, and reverse(88209) = 90288 = 297*304.
MATHEMATICA
Select[Range[5000000], GCD[FromDigits[Reverse[IntegerDigits[(#)^2 ]]], #^2]==# &]
PROG
(PARI) isok(k) = gcd(k^2, fromdigits(Vecrev(digits(k^2)))) == k; \\ Amiram Eldar, May 24 2025
CROSSREFS
KEYWORD
nonn,base
AUTHOR
Michel Lagneau, Sep 13 2010
EXTENSIONS
More terms from Amiram Eldar, May 24 2025
STATUS
approved
