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.

A059542 Beatty sequence for 1 + 1/log(2).

Original entry on oeis.org

2, 4, 7, 9, 12, 14, 17, 19, 21, 24, 26, 29, 31, 34, 36, 39, 41, 43, 46, 48, 51, 53, 56, 58, 61, 63, 65, 68, 70, 73, 75, 78, 80, 83, 85, 87, 90, 92, 95, 97, 100, 102, 105, 107, 109, 112, 114, 117, 119, 122, 124, 127, 129, 131, 134, 136, 139, 141, 144, 146, 149, 151
Offset: 1

Views

Author

Mitch Harris, Jan 22 2001

Keywords

Crossrefs

Beatty complement is A059541.

Programs

  • Mathematica
    Floor[Range[100]*(1 + 1/Log[2])] (* Paolo Xausa, Jul 05 2024 *)
  • PARI
    { default(realprecision, 100); b=1 + 1/log(2); for (n = 1, 2000, write("b059542.txt", n, " ", floor(n*b)); ) } \\ Harry J. Smith, Jun 28 2009

Formula

a(n) = floor(n*(1+1/log(2))). - Michel Marcus, Jan 04 2015
a(n) = n+A307513(n). - R. J. Mathar, Jan 04 2020