OFFSET
0,3
COMMENTS
There are never exactly two squares between two consecutive cubes. - Vladimir Pletser, Jan 12 2021
LINKS
Vladimir Pletser, Table of n, a(n) for n = 0..10000
FORMULA
EXAMPLE
a(3)=3 since 3^3 < 6^2, 7^2, 8^2 <= 4^3.
MAPLE
for n from 0 to 10000 do print(n, floor((n+1)^(3/2))-floor(n^(3/2))) end do; # Vladimir Pletser, Jan 11 2021
MATHEMATICA
With[{sqs=Range[800]^2}, Table[Count[sqs, _?(#>n^3&& #<=(n+1)^3&)], {n, 0, 85}]] (* Harvey P. Dale, Apr 12 2011 *)
CROSSREFS
KEYWORD
easy,nonn
AUTHOR
STATUS
approved