A059544 Beatty sequence for log(3)/(log(3)-1).
11, 22, 33, 44, 55, 66, 77, 89, 100, 111, 122, 133, 144, 155, 167, 178, 189, 200, 211, 222, 233, 245, 256, 267, 278, 289, 300, 311, 323, 334, 345, 356, 367, 378, 389, 401, 412, 423, 434, 445, 456, 467, 479, 490, 501, 512, 523, 534, 545, 557, 568, 579, 590
Offset: 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.
- Index entries for sequences related to Beatty sequences
Crossrefs
Beatty complement is A059543.
Programs
-
Mathematica
With[{c=Log[3]/(Log[3]-1)},Floor[c #]&/@Range[60]] (* Harvey P. Dale, Feb 10 2019 *)
-
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
Formula
a(n) = floor(n*log(3)/(log(3)-1)). - Michel Marcus, Jan 05 2015