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.

A108598 a(n) = floor(n*((5+sqrt(5))/4)).

Original entry on oeis.org

1, 3, 5, 7, 9, 10, 12, 14, 16, 18, 19, 21, 23, 25, 27, 28, 30, 32, 34, 36, 37, 39, 41, 43, 45, 47, 48, 50, 52, 54, 56, 57, 59, 61, 63, 65, 66, 68, 70, 72, 74, 75, 77, 79, 81, 83, 85, 86, 88, 90, 92, 94, 95, 97, 99, 101, 103, 104, 106, 108, 110, 112, 113, 115, 117, 119, 121
Offset: 1

Views

Author

Reinhard Zumkeller, Jun 11 2005

Keywords

Comments

Beatty sequence for (5+sqrt(5))/4; complement of A022839.

Crossrefs

Programs

  • Magma
    [Floor(n*(5+Sqrt(5))/4): n in [1..80]]; // G. C. Greubel, Oct 20 2023
    
  • Mathematica
    With[{c=(5+Sqrt[5])/4},Floor[c Range[80]]] (* Harvey P. Dale, Jul 20 2022 *)
  • SageMath
    [int(n*sqrt(5)*golden_ratio/2) for n in range(1,81)] # G. C. Greubel, Oct 20 2023