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.

A059563 Beatty sequence for e + 1/e.

Original entry on oeis.org

3, 6, 9, 12, 15, 18, 21, 24, 27, 30, 33, 37, 40, 43, 46, 49, 52, 55, 58, 61, 64, 67, 70, 74, 77, 80, 83, 86, 89, 92, 95, 98, 101, 104, 108, 111, 114, 117, 120, 123, 126, 129, 132, 135, 138, 141, 145, 148, 151, 154, 157, 160, 163, 166, 169, 172, 175, 178, 182, 185
Offset: 1

Views

Author

Mitch Harris, Jan 22 2001

Keywords

Crossrefs

Beatty complement is A059564.
Cf. A137204 (e+1/e).

Programs

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

Formula

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