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.

A064720 A Beatty sequence for 3^i + 3^-i + 1.

Original entry on oeis.org

2, 4, 6, 8, 10, 12, 14, 16, 18, 20, 23, 25, 27, 29, 31, 33, 35, 37, 39, 41, 44, 46, 48, 50, 52, 54, 56, 58, 60, 62, 65, 67, 69, 71, 73, 75, 77, 79, 81, 83, 86, 88, 90, 92, 94, 96, 98, 100, 102, 104, 107, 109, 111, 113, 115, 117, 119, 121, 123, 125, 128, 130, 132, 134
Offset: 1

Views

Author

Robert G. Wilson v, Oct 13 2001

Keywords

Comments

3^i + 3^-i + 1 ~= 1.90966484565321951005513028719008497... ~= 21/11.
Different from A059548, although the sequences agree for about 1400 terms. - Joshua Zucker, Apr 25 2007

Crossrefs

Cf. A064719.

Programs

  • Mathematica
    a = Chop[ N[ 3^I + 3^-I +1, 36], 10^-40]; Table[ Floor[n*a/(a-1)], {n, 1, 75} ]
  • PARI
    { default(realprecision, 100); b=real(3^I + 3^-I) + 1; b=b/(b - 1); for (n = 1, 2000, write("b064720.txt", n, " ", floor(n*b)) ) } \\ Harry J. Smith, Sep 23 2009