OFFSET
1,1
EXAMPLE
8^2=64 and (6+4)/2=5
113^2=12769 and (1+2+7+6+9)/5=5.
PROG
(PARI) dsum(n)={my(s=0); while(n>9, s+=n%10; n\=10); s+n};
for(n=1, 1e6, if(dsum(n^2)/#Str(n^2)==5, print1(n", "))) \\ Charles R Greathouse IV, Nov 01 2009
CROSSREFS
KEYWORD
nonn,base
AUTHOR
Zak Seidov, Aug 26 2009
STATUS
approved