OFFSET
1,2
COMMENTS
Differs from A160542 at indices n=81, 91, 101, 111, 121, 131, 141, 151, 152, 161 etc. - R. J. Mathar, May 20 2009
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*A002391). - Paolo Xausa, Jul 05 2024
MAPLE
A059543 := proc(n)
floor(n*log(3)) ;
end proc:
seq(A059543(n), n=1..100) ; # R. J. Mathar, Jun 26 2023
MATHEMATICA
Floor[Range[100]*Log[3]] (* Paolo Xausa, Jul 05 2024 *)
PROG
(PARI) { default(realprecision, 100); b=log(3); for (n = 1, 2000, write("b059543.txt", n, " ", floor(n*b)); ) } \\ Harry J. Smith, Jun 28 2009
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Mitch Harris, Jan 22 2001
STATUS
approved