OFFSET
1,3
LINKS
Harry J. Smith, Table of n, a(n) for n=1,...,64
MATHEMATICA
fQ[n_] := IntegerQ[ Sqrt[ Plus @@ IntegerDigits[n^n]]]; Do[ If[ fQ[n], Print[n]], {n, 8498}] (* Robert G. Wilson v, Nov 23 2004 *)
PROG
(PARI) SumD(x)= { local(s=0); while (x>9, s+=x%10; x\=10); return(s + x) } { n=0; for (m=0, 10^9, if (issquare(SumD(m^m)), write("b066236.txt", n++, " ", m); if (n==1000, return)) ) } \\ Harry J. Smith, Feb 07 2010
CROSSREFS
KEYWORD
base,nonn
AUTHOR
Jason Earls, Dec 19 2001
EXTENSIONS
More terms from Robert G. Wilson v, Nov 23 2004
STATUS
approved