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

A038129
Beatty sequence for cube root of 2.
3
0, 1, 2, 3, 5, 6, 7, 8, 10, 11, 12, 13, 15, 16, 17, 18, 20, 21, 22, 23, 25, 26, 27, 28, 30, 31, 32, 34, 35, 36, 37, 39, 40, 41, 42, 44, 45, 46, 47, 49, 50, 51, 52, 54, 55, 56, 57, 59, 60, 61, 62, 64, 65, 66, 68, 69, 70, 71, 73, 74, 75, 76, 78, 79, 80, 81, 83, 84, 85, 86, 88, 89
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
Cf. A059539.
Sequence in context: A001068 A039145 A242491 * A062071 A087069 A023737
KEYWORD
nonn
AUTHOR
EXTENSIONS
More terms from Benoit Cloitre, Apr 16 2003
STATUS
approved