OFFSET
0,1
COMMENTS
Another version of the infinite Fibonacci word (see Formula). Start with 2, apply 2->23, 3->233, and take the limit.
LINKS
Clark Kimberling, Table of n, a(n) for n = 0..10000
FORMULA
a(n) = 1 + A001468(n).
MATHEMATICA
r = GoldenRatio^2; Table[Floor[(n + 1) r] - Floor[n r], {n, 0, 120}]
PROG
(Python)
from math import isqrt
def A282162(n): return (n+3+isqrt(m:=5*(n+1)**2)>>1)-(n+isqrt(m-10*n-5)>>1) # Chai Wah Wu, May 05 2025
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Clark Kimberling, Feb 09 2017
STATUS
approved
