login
A038126
a(n) = floor( sqrt(2*Pi)*n ) (a Beatty sequence).
2
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,2
COMMENTS
Of course this is different from A047215 (they first differ at n=77).
MATHEMATICA
With[{c=Sqrt[2*Pi]}, Floor[c*#]&/@Range[0, 70]] (* Harvey P. Dale, Nov 14 2014 *)
PROG
(PARI) vector(100, n, n--; floor(n*sqrt(2*Pi))) \\ G. C. Greubel, Sep 08 2018
(Magma) R:= RealField(20); [Floor(n*Sqrt(2*Pi(R))): n in [0..100]]; // G. C. Greubel, Sep 08 2018
CROSSREFS
Sequence in context: A274285 A022849 A075328 * A047215 A330067 A059536
KEYWORD
nonn
STATUS
approved