login
A240977
Beatty sequence for cube root of Pi: a(n) = floor(n*Pi^(1/3)).
3
0, 1, 2, 4, 5, 7, 8, 10, 11, 13, 14, 16, 17, 19, 20, 21, 23, 24, 26, 27, 29, 30, 32, 33, 35, 36, 38, 39, 41, 42, 43, 45, 46, 48, 49, 51, 52, 54, 55, 57, 58, 60, 61, 62, 64, 65, 67, 68, 70, 71, 73, 74, 76, 77, 79, 80, 82, 83, 84
OFFSET
0,3
COMMENTS
Beatty complement of A248524. - M. F. Hasler, Oct 07 2014
FORMULA
a(n) = floor(n*(Pi^1/3)).
MATHEMATICA
Table[Floor[n*(Pi^(1/3))], {n, 0, 50}] (* G. C. Greubel, Feb 14 2017 *)
PROG
(Java) static int a(int n) {return (int) (n*Math.pow(Math.PI, (1.0/3))); }
(PARI) a(n)=n\Pi^(-1/3) \\ M. F. Hasler, Oct 07 2014
CROSSREFS
Cf. A092039 (Pi^(1/3)), A022844 (similar for Pi), A037086 (similar for sqrt(Pi)), A248524.
Sequence in context: A284602 A286355 A292665 * A110118 A138251 A054386
KEYWORD
nonn
AUTHOR
Sarah Nathanson, Sep 30 2014
EXTENSIONS
a(0)=0 prepended by Eric M. Schmidt, Oct 06 2014
Name edited by M. F. Hasler, Oct 07 2014
STATUS
approved