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.

A059566 Beatty sequence for e^gamma/(e^gamma-1).

Original entry on oeis.org

2, 4, 6, 9, 11, 13, 15, 18, 20, 22, 25, 27, 29, 31, 34, 36, 38, 41, 43, 45, 47, 50, 52, 54, 57, 59, 61, 63, 66, 68, 70, 72, 75, 77, 79, 82, 84, 86, 88, 91, 93, 95, 98, 100, 102, 104, 107, 109, 111, 114, 116, 118, 120, 123, 125, 127, 129, 132, 134, 136, 139, 141, 143
Offset: 1

Views

Author

Mitch Harris, Jan 22 2001

Keywords

Crossrefs

Beatty complement is A059565.

Programs

  • Mathematica
    Table[ Floor[ n * E^EulerGamma /(E^EulerGamma - 1)], {n, 1, 70} ]
  • PARI
    { default(realprecision, 100); v=exp(1)^Euler; b=v/(v - 1); for (n = 1, 2000, write("b059566.txt", n, " ", floor(n*b)); ) } \\ Harry J. Smith, Jun 28 2009

Formula

a(n) = floor(n*e^gamma/(e^gamma-1)). - Michel Marcus, Jan 04 2015