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.

A038126 a(n) = floor( sqrt(2*Pi)*n ) (a Beatty sequence).

Original entry on oeis.org

0, 2, 5, 7, 10, 12, 15, 17, 20, 22, 25, 27, 30, 32, 35, 37, 40, 42, 45, 47, 50, 52, 55, 57, 60, 62, 65, 67, 70, 72, 75, 77, 80, 82, 85, 87, 90, 92, 95, 97, 100, 102, 105, 107, 110, 112, 115, 117, 120, 122, 125, 127, 130, 132, 135, 137, 140, 142, 145, 147, 150, 152, 155, 157
Offset: 0

Views

Author

Keywords

Comments

Of course this is different from A047215 (they first differ at n=77).

Crossrefs

Programs

  • Magma
    R:= RealField(20); [Floor(n*Sqrt(2*Pi(R))): n in [0..100]]; // G. C. Greubel, Sep 08 2018
  • Mathematica
    With[{c=Sqrt[2*Pi]},Floor[c*#]&/@Range[0,70]] (* Harvey P. Dale, Nov 14 2014 *)
  • PARI
    vector(100, n, n--; floor(n*sqrt(2*Pi))) \\ G. C. Greubel, Sep 08 2018