login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

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