OFFSET
1,1
COMMENTS
Last term is a(266) = 9996830. - Giovanni Resta, Jun 06 2015
LINKS
Giovanni Resta, Table of n, a(n) for n = 1..266 (full sequence)
EXAMPLE
3331367^2 = 11098006088689;
1+1+0+9+8+0+0+6+0+8+8+6+8+9 = 64 = 8^2;
11+09+80+06+08+86+89 = 289 = 17^2;
1109800+6088689 = 7198489 = 2683^2.
MATHEMATICA
sdgQ[n_]:=Module[{idn=IntegerDigits[n^2], t2, t7}, t2=Total[FromDigits/@ Partition[ idn, 2]]; t7=Total[FromDigits/@Partition[idn, 7]]; AllTrue[ {Sqrt[Total[idn]], Sqrt[t2], Sqrt[t7]}, IntegerQ]]; Select[Range[ Round[ 3.16*10^6], Round[3.34*10^6]], sdgQ] (* The program uses the AllTrue function from Mathematica version 10 *) (* Harvey P. Dale, Aug 07 2016 *)
CROSSREFS
KEYWORD
nonn,base,fini,full
AUTHOR
Doug Bell, Dec 31 2008
STATUS
approved