OFFSET
0,3
FORMULA
a(n)=floor(n*1.2599210498..)
a(n)=floor(n*2^(1/3)) - Benoit Cloitre, Apr 16 2003
MATHEMATICA
Floor[Range[0, 90]Surd[2, 3]] (* Harvey P. Dale, Mar 24 2019 *)
PROG
(PARI) a(n)=floor(n*2^(1/3))
(Python)
from sympy import integer_nthroot
def A038129(n): return integer_nthroot(2*n**3, 3)[0] # Chai Wah Wu, Mar 17 2021
CROSSREFS
KEYWORD
nonn
AUTHOR
EXTENSIONS
More terms from Benoit Cloitre, Apr 16 2003
STATUS
approved