cp's OEIS Frontend

This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.

Showing 1-1 of 1 results.

A240977 Beatty sequence for cube root of Pi: a(n) = floor(n*Pi^(1/3)).

Original entry on oeis.org

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

Views

Author

Sarah Nathanson, Sep 30 2014

Keywords

Comments

Beatty complement of A248524. - M. F. Hasler, Oct 07 2014

Crossrefs

Cf. A092039 (Pi^(1/3)), A022844 (similar for Pi), A037086 (similar for sqrt(Pi)), A248524.

Programs

  • Java
    static int a(int n) {return (int) (n*Math.pow(Math.PI,(1.0/3)));}
    
  • Mathematica
    Table[Floor[n*(Pi^(1/3))], {n, 0, 50}] (* G. C. Greubel, Feb 14 2017 *)
  • PARI
    a(n)=n\Pi^(-1/3) \\ M. F. Hasler, Oct 07 2014

Formula

a(n) = floor(n*(Pi^1/3)).

Extensions

a(0)=0 prepended by Eric M. Schmidt, Oct 06 2014
Name edited by M. F. Hasler, Oct 07 2014
Showing 1-1 of 1 results.