OFFSET
1,1
COMMENTS
a(n) - a(n-1) is in {4,5} for n>=2, and a(n)/n -> 3 + sqrt(2).
LINKS
Clark Kimberling, Table of n, a(n) for n = 1..10000
FORMULA
From Ridouane Oudra, Nov 02 2024: (Start)
a(n) = floor((3+sqrt(2))*n - 1).
a(n) = floor(sqrt(2)*n) + 3*n - 1.
a(n) = A187338(n) - 1. (End)
EXAMPLE
As a word, A286922 = 1101110111101110111101110..., in which 0 is in positions 3,7,12,16....
MAPLE
seq(floor((3+sqrt(2))*n)-1, n=1..80); # Ridouane Oudra, Nov 02 2024
MATHEMATICA
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Clark Kimberling, May 17 2017
STATUS
approved