OFFSET
0
LINKS
Clark Kimberling, Table of n, a(n) for n = 0..34999
FORMULA
a(n) = [(2*n+1)*r] - [(n+1)*r] - [n*r], where [ ] = floor and r = (1+sqrt(5))/2.
MATHEMATICA
r = (1 + Sqrt[5])/2; z = 200;
t = Table[Floor[(2 n + 1)*r] - Floor[n*r + r] - Floor[n*r], {n, 0, z}]
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Clark Kimberling, Aug 25 2019
STATUS
approved