OFFSET
0,3
COMMENTS
a(n) - A070929(n) = n^3.
FORMULA
a(n) = ceiling(n^(3/2))^2. - Benoit Cloitre, Nov 01 2002
EXAMPLE
a(10)=1024, as 1024=32^2 is the least square >= 1000 = 10^3.
MATHEMATICA
lis[n_]:=Module[{c=Sqrt[n^3]}, If[IntegerQ[c], c^2, (Floor[c]+1)^2]]; Array[lis, 40, 0] (* Harvey P. Dale, Jan 22 2013 *)
PROG
(Magma) [Ceiling(n^(3/2))^2: n in [0..50]]; // Vincenzo Librandi, Feb 17 2015
CROSSREFS
KEYWORD
nonn
AUTHOR
Reinhard Zumkeller, Oct 29 2002
STATUS
approved