OFFSET
1
LINKS
Clark Kimberling, Table of n, a(n) for n = 1..10000
FORMULA
a(n) = 1 - floor((n+1)*(1-1/r)) + floor(n*(1-1/r)), where r = sqrt(10). [corrected by Georg Fischer, Sep 01 2022]
MATHEMATICA
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Clark Kimberling, May 15 2017
STATUS
approved