OFFSET
1,1
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*log(3)/(log(3)-1)). - Michel Marcus, Jan 05 2015
MATHEMATICA
With[{c=Log[3]/(Log[3]-1)}, Floor[c #]&/@Range[60]] (* Harvey P. Dale, Feb 10 2019 *)
PROG
(PARI) { default(realprecision, 100); b=log(3)/(log(3) - 1); for (n = 1, 2000, write("b059544.txt", n, " ", floor(n*b)); ) } \\ Harry J. Smith, Jun 28 2009
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Mitch Harris, Jan 22 2001
STATUS
approved