OFFSET
1,2
FORMULA
EXAMPLE
6^2 = 36 and 3+6 = 9 is a square, thus 3 is in the sequence. 13^2 = 169 and 1+6+9 = 16 is a square, thus 4 is in the sequence.
MAPLE
readlib(issqr): f := []: for n from 1 to 200 do if issqr(convert(convert(n^2, base, 10), `+`)) then f := [op(f), sqrt(convert(convert(n^2, base, 10), `+`))] fi; od; f;
MATHEMATICA
Select[Table[Sqrt[Total[IntegerDigits[n^2]]], {n, 350}], IntegerQ] (* Jayanta Basu, May 06 2013 *)
CROSSREFS
KEYWORD
nonn,base
AUTHOR
Asher Auel, May 17 2001
STATUS
approved