login
A117756
Squares for which the reversed sum of the digits is also a square.
0
0, 1, 4, 9, 36, 64, 81, 100, 121, 144, 225, 324, 361, 400, 441, 576, 729, 900, 1089, 1225, 1296, 1521, 1764, 2025, 2116, 2304, 2601, 2916, 3025, 3249, 3600, 4356, 4761, 5041, 5184, 5625, 6084, 6400, 6561, 7056, 8100, 9216, 9801, 10000, 10201, 10404, 11025
OFFSET
0,3
EXAMPLE
729 is in the sequence because (1)it is a square, (2)the sum of its digits is 7+2+9=18 and (3)18 reversed is 81, which is a square.
MATHEMATICA
Select[Range[105]^2, IntegerQ@ Sqrt@ FromDigits@ Reverse@ IntegerDigits@ # &[Total@ IntegerDigits@ #] &] (* Michael De Vlieger, Jan 15 2016 *)
PROG
(PARI) isok(n) = issquare(n) && issquare(eval(concat( Vecrev(Str(sumdigits(n)))))); \\ Michel Marcus, Jan 15 2016
CROSSREFS
Cf. A053057 (squares whose digit sum is also a square).
Sequence in context: A085575 A082875 A267430 * A326182 A053057 A118547
KEYWORD
base,nonn
AUTHOR
Luc Stevens (lms022(AT)yahoo.com), Apr 14 2006
EXTENSIONS
a(34) corrected by Vincenzo Librandi, Jan 15 2016
STATUS
approved