OFFSET
1,2
LINKS
Robert Israel, Table of n, a(n) for n = 1..10000
FORMULA
a(n) = floor((n+1/2)^(3/2)) - floor((n-1/2)^(3/2)). - Robert Israel, Jun 06 2014
MAPLE
A:= n -> floor((n+1/2)^(3/2)) - floor((n-1/2)^(3/2)):
seq(A(n), n=1..100); # Robert Israel, Jun 06 2014
MATHEMATICA
ile = 0; aa = {}; d1 = -1; Do[ile = ile + 1; xx = Round[y^(2/3)]; dd = xx^3 - y^2; If[dd > 0 && d1 < 0, AppendTo[aa, ile]; ile = 0]; d1 = dd, {y, 2, 1000}]; aa
CROSSREFS
KEYWORD
nonn
AUTHOR
Artur Jasinski, Jan 07 2012
STATUS
approved