OFFSET
1,1
COMMENTS
The Beatty sequence b(k) = floor(k/sqrt(2) + 2*(sqrt(2)-1)) satisfies the triple-nested equation b(b(b(k)+b(k-1))) = b(k) for all k >= 1 (see reference).
Equivalent characterization: k is in this sequence iff frac((k+3)/sqrt(2)) lies in [1 - 1/sqrt(2), 1/2].
The sequence of differences a(n+1) - a(n) takes values in {3, 4, 7} and belongs to the minimal subshift generated by the primitive substitution 3 -> 3,4; 4 -> 3,7; 7 -> 3,7,7 (see A395253), with Perron eigenvalue 1 + sqrt(2).
LINKS
Benoit Cloitre, Beatty solutions of almost Golomb equations, arXiv:2604.10822 [math.NT], 2026.
FORMULA
a(n) ~ 2*(sqrt(2)+1)*n as n --> infinity.
MATHEMATICA
b[k_] := Floor[k/Sqrt[2] + 2*(Sqrt[2] - 1)]; q[k_] := b[b[k] + b[k - 1]] != k; Select[Range[300], q] (* Amiram Eldar, Apr 17 2026 *)
CROSSREFS
KEYWORD
nonn
AUTHOR
Benoit Cloitre, Apr 17 2026
STATUS
approved
