OFFSET
1,1
LINKS
Harry J. Smith, Table of n, a(n) for n = 1..2000
Aviezri S. Fraenkel, Jonathan Levitt and Michael Shimshoni, Characterization of the set of values f(n)=[n alpha], n=1,2,..., Discrete Math. 2 (1972), no. 4, 335-345.
Eric Weisstein's World of Mathematics, Beatty Sequence.
FORMULA
a(n) = floor(n*(e+1/e)). - Michel Marcus, Jan 04 2015
MATHEMATICA
Floor[Range[100]*(E + 1/E)] (* Paolo Xausa, Jul 06 2024 *)
PROG
(PARI) { default(realprecision, 100); b=exp(1) + 1/exp(1); for (n = 1, 2000, write("b059563.txt", n, " ", floor(n*b)); ) } \\ Harry J. Smith, Jun 28 2009
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Mitch Harris, Jan 22 2001
STATUS
approved