OFFSET
0,2
COMMENTS
a(0)=0, a(1)=4; for n > 1, a(n) = a(n-1) + 4 if n is already in the sequence, a(n) = a(n-1) + 3 otherwise.
In the Fokkink-Joshi paper, this sequence is the Cloitre (0,4,4,3)-hiccup sequence. - Michael De Vlieger, Jul 29 2025
LINKS
Michael De Vlieger, Table of n, a(n) for n = 0..10000
Benoit Cloitre, A study of a family of self-referential sequences, arXiv:2506.18103 [math.GM], 2025. See p. 7.
Benoit Cloitre, N. J. A. Sloane and M. J. Vandermast, Numerical analogues of Aronson's sequence, J. Integer Seqs., Vol. 6 (2003), #03.2.2.
Benoit Cloitre, N. J. A. Sloane and M. J. Vandermast, Numerical analogues of Aronson's sequence, arXiv:math/0305308 [math.NT], 2003.
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.
MATHEMATICA
With[{c=(3+Sqrt[13])/2}, Table[Ceiling[c*n], {n, 0, 60}]] (* Harvey P. Dale, Oct 30 2021 *)
CROSSREFS
KEYWORD
nonn
AUTHOR
N. J. A. Sloane, Mar 23 2003
STATUS
approved
