A247964 Beatty sequence for e^(1/3): a(n) = floor(n*(e^(1/3))).
0, 1, 2, 4, 5, 6, 8, 9, 11, 12, 13, 15, 16, 18, 19, 20, 22, 23, 25, 26, 27, 29, 30, 32, 33, 34, 36, 37, 39, 40, 41, 43, 44, 46, 47, 48, 50, 51, 53, 54, 55, 57, 58, 60, 61, 62, 64, 65, 66, 68, 69, 71, 72, 73, 75, 76, 78, 79, 80, 82, 83, 85, 86, 87, 89, 90, 92, 93
Offset: 0
Keywords
Links
- Paolo Xausa, Table of n, a(n) for n = 0..10000
- Eric Weisstein's World of Mathematics, Beatty Sequence.
- Index entries for sequences related to Beatty sequences.
Programs
-
Java
static int a(int n) {return (int) (n*Math.pow(Math.E, (1.0/3))); }
-
Mathematica
Floor[Range[0,100]*Exp[1/3]] (* Paolo Xausa, Jul 16 2024 *)
-
PARI
a(n)=n\exp(-1/3) \\ M. F. Hasler, Oct 07 2014
Comments