A059546 Beatty sequence for log(10)/(log(10)-1).
1, 3, 5, 7, 8, 10, 12, 14, 15, 17, 19, 21, 22, 24, 26, 28, 30, 31, 33, 35, 37, 38, 40, 42, 44, 45, 47, 49, 51, 53, 54, 56, 58, 60, 61, 63, 65, 67, 68, 70, 72, 74, 76, 77, 79, 81, 83, 84, 86, 88, 90, 91, 93, 95, 97, 98, 100, 102, 104, 106, 107, 109, 111, 113, 114, 116
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
Programs
-
Mathematica
Floor[Range[100]*(1 + 1/(Log[10] - 1))] (* Paolo Xausa, Jul 05 2024 *)
-
PARI
{ default(realprecision, 100); b=log(10)/(log(10) - 1); for (n = 1, 2000, write("b059546.txt", n, " ", floor(n*b)); ) } \\ Harry J. Smith, Jun 28 2009
Formula
a(n) = floor(n*log(10)/(log(10) - 1)). - Michel Marcus, Jan 04 2015
Comments