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”).

A359275
a(n) = greatest integer k such that (n+k)^2 <= n^3.
0
0, 0, 0, 2, 4, 6, 8, 11, 14, 18, 21, 25, 29, 33, 38, 43, 48, 53, 58, 63, 69, 75, 81, 87, 93, 100, 106, 113, 120, 127, 134, 141, 149, 156, 164, 172, 180, 188, 196, 204, 212, 221, 230, 238, 247, 256, 265, 275, 284, 294, 303, 313, 322, 332, 342, 352, 363, 373
OFFSET
0,4
FORMULA
a(n) = -n + [n^(3/2)], where [ ] = floor.
EXAMPLE
a(7) = 11 because (7+11)^2 <= 7^3 < (7+12)^2.
MATHEMATICA
a[n_] := Select[-1 + Range[1300], (n + #)^2 <= n^3 < (n + # + 1)^2 &]
Flatten[Table[a[n], {n, 0, 100}]]
CROSSREFS
Sequence in context: A339573 A060655 A117490 * A032514 A011858 A183144
KEYWORD
nonn
AUTHOR
Clark Kimberling, Jan 26 2023
STATUS
approved