OFFSET
0,1
LINKS
G. C. Greubel, Table of n, a(n) for n = 0..5000
EXAMPLE
a(0) = 4 since between 0 and 9 there are 4 squares {0,1,4,9}.
MATHEMATICA
f2[n_] := If[n < 0, 0, Floor[n^(1/2)] + 1]; Table[f2[10n + 9] - f2[10n - 1], {n, 0, 120}] (* Ray Chandler, Oct 07 2005 *)
CROSSREFS
KEYWORD
nonn
AUTHOR
Giovanni Teofilatto, Oct 04 2005
EXTENSIONS
Extended by Ray Chandler, Oct 07 2005
STATUS
approved