login
A110916
Number of squares between 10n and 10n+9 (inclusive).
3
4, 1, 1, 1, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 0, 1, 0, 0, 1, 0, 0, 1, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 1, 0, 0
OFFSET
0,1
LINKS
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
Sequence in context: A276974 A122777 A103524 * A185058 A368474 A369935
KEYWORD
nonn
AUTHOR
Giovanni Teofilatto, Oct 04 2005
EXTENSIONS
Extended by Ray Chandler, Oct 07 2005
STATUS
approved