cp's OEIS Frontend

This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.

A059546 Beatty sequence for log(10)/(log(10)-1).

Original entry on oeis.org

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

Views

Author

Mitch Harris, Jan 22 2001

Keywords

Crossrefs

Beatty complement is A059545.
Cf. A002392.

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