OFFSET
1,2
COMMENTS
The initial 634 terms are the same as the formula: a(n) = floor((11*n - 1) / 8). - Simon Strandgaard, Sep 24 2021
LINKS
Karl V. Keller, Jr., Table of n, a(n) for n = 1..1000
Eric Weisstein's World of Mathematics, Beatty Sequence
Eric Weisstein's World of Mathematics, e
Eric Weisstein's World of Mathematics, Pi
FORMULA
a(n) = floor(n*e^(1/Pi)).
EXAMPLE
For n = 5, floor(5*e^(1/Pi)) = 6.
MATHEMATICA
Array[Floor[#*E^(1/Pi)] &, 62] (* Michael De Vlieger, Sep 28 2021 *)
PROG
(Python)
from sympy import E, pi, floor
for n in range(1, 101): print(floor(n*E**(1/pi)), end=', ')
(PARI) vector(80, n, floor(n*exp(1/Pi))) \\ Michel Marcus, Aug 05 2015
CROSSREFS
KEYWORD
nonn,changed
AUTHOR
Karl V. Keller, Jr., Jul 26 2015
STATUS
approved