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.

A059544 Beatty sequence for log(3)/(log(3)-1).

Original entry on oeis.org

11, 22, 33, 44, 55, 66, 77, 89, 100, 111, 122, 133, 144, 155, 167, 178, 189, 200, 211, 222, 233, 245, 256, 267, 278, 289, 300, 311, 323, 334, 345, 356, 367, 378, 389, 401, 412, 423, 434, 445, 456, 467, 479, 490, 501, 512, 523, 534, 545, 557, 568, 579, 590
Offset: 1

Views

Author

Mitch Harris, Jan 22 2001

Keywords

Crossrefs

Beatty complement is A059543.

Programs

  • Mathematica
    With[{c=Log[3]/(Log[3]-1)},Floor[c #]&/@Range[60]] (* Harvey P. Dale, Feb 10 2019 *)
  • PARI
    { default(realprecision, 100); b=log(3)/(log(3) - 1); for (n = 1, 2000, write("b059544.txt", n, " ", floor(n*b)); ) } \\ Harry J. Smith, Jun 28 2009

Formula

a(n) = floor(n*log(3)/(log(3)-1)). - Michel Marcus, Jan 05 2015