OFFSET
1,2
LINKS
Harry J. Smith, Table of n, a(n) for n = 1..2000
Aviezri S. Fraenkel, Jonathan Levitt, 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*(1 + log(1/Euler))). - Michel Marcus, Jan 05 2015
MATHEMATICA
Table[Floor[n*(1 + Log[1/EulerGamma])], {n, 1, 100}] (* G. C. Greubel, Aug 27 2018 *)
PROG
(PARI) { default(realprecision, 100); b=1 + log(1/Euler); for (n = 1, 2000, write("b059559.txt", n, " ", floor(n*b)); ) } \\ Harry J. Smith, Jun 28 2009
(Magma) R:=RealField(100); [Floor(1+Log(1/EulerGamma(R))*n): n in [1..100]]; // G. C. Greubel, Aug 27 2018
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Mitch Harris, Jan 22 2001
EXTENSIONS
Corrected the definition from 1-log(1/gamma) to 1+log(1/gamma). - Harry J. Smith, Jun 28 2009
STATUS
approved