OFFSET
1,2
COMMENTS
In the Fokkink-Joshi paper, this sequence is the Cloitre (0,0,4,5)-hiccup sequence. - Michael De Vlieger, Jul 29 2025
LINKS
Michael De Vlieger, Table of n, a(n) for n = 1..10000
Robbert Fokkink and Gandhar Joshi, On Cloitre's hiccup sequences, Ramanujan J. 69 (2026), 40. See p. 4, Table 1. See also arXiv:2507.16956 [math.CO], 2025. See p. 3.
FORMULA
a(n) = floor(r*n-(3*r+1)/(r-1)) where r = (1/2) *(5+sqrt(21)) = 4.79128784747792...
MATHEMATICA
cloitreH[j_, x_, y_, z_, w_ : 120] := Module[{c, k}, c[_] := False; k = x; c[x] = True; {x}~Join~Reap[Do[If[c[n - j], k += y, k += z]; c[k] = True; Sow[k], {n, 2, w}] ][[-1, 1]] ]; cloitreH[0, 0, 4, 5] (* Michael De Vlieger, Jul 29 2025 *)
CROSSREFS
KEYWORD
nonn
AUTHOR
Benoit Cloitre, Apr 11 2003
STATUS
approved
