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.

A098005 Beatty sequence for 1/(3 - e): a(n) = floor(n/(3-e)).

Original entry on oeis.org

3, 7, 10, 14, 17, 21, 24, 28, 31, 35, 39, 42, 46, 49, 53, 56, 60, 63, 67, 70, 74, 78, 81, 85, 88, 92, 95, 99, 102, 106, 110, 113, 117, 120, 124, 127, 131, 134, 138, 141, 145, 149, 152, 156, 159, 163, 166, 170, 173, 177, 181, 184, 188, 191, 195, 198, 202, 205, 209
Offset: 1

Views

Author

Roger L. Bagula, Sep 07 2004

Keywords

Comments

Let r = 1/(3-e) and s = e-2. Then 1/r + 1/s = 1, so that [r*n] and [s*n] represent a complementary pair of Beatty sequences, A098005 and A000062; r and s are the fractional parts of -e and e.

Crossrefs

Cf. A000062 is complement of A098005.

Programs

  • Mathematica
    Table[Floor[n/(3-E)],{n,1,100}]

Formula

a(n) = floor(n/(3-e)).

Extensions

Edited by Clark Kimberling, Aug 24 2011