OFFSET
0,3
LINKS
Harvey P. Dale, Table of n, a(n) for n = 0..10000
FORMULA
Empirical g.f.: -x*(x +1)*(x^12 +2*x^11 +3*x^10 +24*x^9 -11*x^8 +26*x^7 -9*x^6 +26*x^5 -11*x^4 +24*x^3 +3*x^2 +2*x +1) / ((x -1)^3*(x^6 +x^5 +x^4 +x^3 +x^2 +x +1)^2). - Colin Barker, Jan 17 2014
MATHEMATICA
drQ[n_]:=IntegerQ[Sqrt[NestWhile[Total[IntegerDigits[#]]&, n, #>9&]]]; Select[Range[0, 100]^2, drQ] (* Harvey P. Dale, Feb 14 2016 *)
CROSSREFS
KEYWORD
nonn,base
AUTHOR
Luc Stevens (lms022(AT)yahoo.com), Apr 12 2006
STATUS
approved