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.

Showing 1-2 of 2 results.

A174575 a(n) = floor( (alpha^n-beta^n)/(alpha-beta) ), where alpha=(1 + 3^(1/4))/2 and beta = (1 - 3^(1/4))/2.

Original entry on oeis.org

0, 1, 1, 1, 1, 1, 1, 2, 2, 2, 3, 3, 4, 5, 5, 6, 7, 9, 10, 12, 14, 16, 19, 22, 25, 29, 34, 39, 46, 53, 62, 71, 83, 96, 111, 129, 149, 173, 200, 232, 268, 311, 360, 417, 483, 560, 648, 751, 869, 1007, 1166
Offset: 0

Views

Author

Roger L. Bagula, Nov 29 2010

Keywords

Comments

The sequence is designed to have alpha as the limiting ratio of a(n+1)/a(n): 1.1580370064762462304...

Crossrefs

Cf. A174427.

Programs

  • Mathematica
    a = (1 + 3^(1/4))/2; b = (1 - 3^(1/4))/2;
    f[n_] := Floor[FullSimplify[(a^n - b^n)/(a - b)]]
    Table[f[n], {n, 0, 50}]

A174576 a(n) = Floor[(alpha^n-beta^n)(alpha-beta)], with alpha = (1 + Sqrt(a0))/2; beta = (1 - Sqrt(a0))/2; a0=(1 + Sqrt(5))/2.

Original entry on oeis.org

0, 1, 1, 1, 1, 1, 1, 1, 2, 2, 2, 3, 3, 4, 4, 5, 6, 6, 7, 8, 10, 11, 12, 14, 16, 19, 21, 24, 27, 31, 36, 40, 46, 52, 60, 68, 77, 88, 100, 113, 129, 146, 166, 189, 214, 244, 277, 315, 357, 406, 461
Offset: 0

Views

Author

Roger L. Bagula, Nov 29 2010

Keywords

Comments

A sequence designed to have limiting ratio:1.1360098247570344821

Crossrefs

Programs

  • Mathematica
    Clear[a, b, a0, f]
    a0 = (1 + Sqrt[5])/2;
    a = (1 + Sqrt[a0])/2; b = (1 - Sqrt[a0])/2;
    f[n_] := Floor[FullSimplify[(a^n - b^n)/(a - b)]]
    Table[f[n], {n, 0, 50}]
Showing 1-2 of 2 results.