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.

A004976 a(n) = floor(n*phi^3), where phi=(1+sqrt(5))/2.

Original entry on oeis.org

0, 4, 8, 12, 16, 21, 25, 29, 33, 38, 42, 46, 50, 55, 59, 63, 67, 72, 76, 80, 84, 88, 93, 97, 101, 105, 110, 114, 118, 122, 127, 131, 135, 139, 144, 148, 152, 156, 160, 165, 169, 173, 177, 182, 186, 190, 194, 199
Offset: 0

Views

Author

Keywords

Comments

For n>=1, a(n) is the position of the n-th 1 in the zero-one sequence [n*r+r]-[n*r]-[r], where r=sqrt(5); see A188221. Also, A004976=-1+A004958 (for n>=1), and A004976 is the complement of A188222. - Clark Kimberling, Mar 24 2011

Crossrefs

Programs

Formula

a(n) = n+floor(2*n*phi). [Formula corrected by Clark Kimberling, Mar 22 2008]