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.

A125894 a(n) = floor(((1+sqrt(2))/2)^n).

Original entry on oeis.org

1, 1, 1, 2, 2, 3, 3, 4, 5, 6, 7, 9, 11, 13, 16, 20, 24, 29, 35, 43, 52, 62, 75, 91, 110, 133, 161, 194, 234, 283, 342, 412, 498, 601, 726, 876, 1058, 1277, 1541, 1861, 2246, 2712, 3273, 3951, 4770, 5758, 6951, 8390, 10128, 12226, 14758, 17814, 21504, 25957
Offset: 1

Views

Author

Artur Jasinski, Dec 13 2006

Keywords

Crossrefs

Cf. A174968 ((1+sqrt(2))/2).

Programs

  • Magma
    [Floor(((1+Sqrt(2))/2)^n): n in [1..100]]; // G. C. Greubel, Oct 02 2018
  • Mathematica
    Table[Floor[((1 + Sqrt[2])/2)^n], {n, 1, 100}]
  • PARI
    vector(100, n, floor(((1+sqrt(2))/2)^n)) \\ G. C. Greubel, Oct 02 2018