OFFSET
1
COMMENTS
LINKS
Clark Kimberling, Table of n, a(n) for n = 1..10000
FORMULA
a(n) = floor(n*r) - floor((n+2)*r) + 1, where r = (3-sqrt(2))/7. - Ridouane Oudra, Nov 21 2024
MAPLE
r:=(3-sqrt(2))/7: seq(floor(n*r)-floor((n+2)*r)+1, n=1..100); # Ridouane Oudra, Nov 21 2024
MATHEMATICA
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Clark Kimberling, May 17 2017
STATUS
approved