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.

A004922 a(n) = floor(n*phi^7), where phi is the golden ratio, A001622.

Original entry on oeis.org

0, 29, 58, 87, 116, 145, 174, 203, 232, 261, 290, 319, 348, 377, 406, 435, 464, 493, 522, 551, 580, 609, 638, 667, 696, 725, 754, 783, 812, 841, 871, 900, 929, 958, 987, 1016, 1045, 1074, 1103, 1132, 1161, 1190, 1219, 1248, 1277, 1306, 1335, 1364
Offset: 0

Views

Author

Keywords

Crossrefs

Programs

  • Magma
    [Floor(n*((1 + Sqrt(5))/2)^7): n in [0..50]]; // Vincenzo Librandi, Jul 22 2015
  • Mathematica
    Table[Floor[n ((1 + Sqrt[5])/2)^7], {n, 0, 50}] (* Vincenzo Librandi, Jul 22 2015 *)
  • Python
    from sympy import sqrt
    phi = (1 + sqrt(5))/2
    for n in range(0,101): print(int(n*phi**7), end=', ') # Karl V. Keller, Jr., Jul 22 2015