|
|
A100197
|
|
Numbers of squares in the range [n^3, (n+1)^3].
|
|
1
|
|
|
2, 2, 3, 3, 4, 3, 4, 4, 5, 5, 5, 5, 5, 6, 6, 6, 7, 6, 6, 7, 7, 7, 7, 7, 8, 8, 8, 8, 8, 8, 8, 9, 8, 9, 9, 9, 10, 9, 9, 9, 10, 10, 9, 10, 10, 10, 11, 10, 11, 11, 11, 10, 11, 11, 11, 12, 11, 11, 12, 11, 12, 12, 12, 12, 13, 12, 12, 12, 13, 12, 13, 12, 13, 13, 13, 13, 13, 13, 14, 13, 14, 14, 14
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
0,1
|
|
LINKS
|
|
|
EXAMPLE
|
a(0)=2 because between the cubes 0 and 1 there are exactly 2 squares, {0,1}.
a(1)=2 because between the cubes 1 and 8 there are exactly 2 squares, {1,4}.
|
|
MATHEMATICA
|
Table[ Floor[Sqrt[(n + 1)^3] - Ceiling[Sqrt[n^3]]] + 1, {n, 0, 82}] (* Ray Chandler, Jan 09 2005 *)
|
|
CROSSREFS
|
|
|
KEYWORD
|
easy,nonn
|
|
AUTHOR
|
|
|
EXTENSIONS
|
|
|
STATUS
|
approved
|
|
|
|