Annual appeal: Please make a donation to keep the OEIS running! Over 6000 articles have referenced us, often saying "we discovered this result with the help of the OEIS". Other ways to donate

0,1

a(0)=2, a(1)=4; for n>1, a(n)=a(n-1)+1 if n is already in the sequence, a(n)=a(n-1)+2 otherwise.

Table of n, a(n) for n=0..73.

B. Cloitre, N. J. A. Sloane and M. J. Vandermast, Numerical analogues of Aronson's sequence, J. Integer Seqs., Vol. 6 (2003), #03.2.2.

B. Cloitre, N. J. A. Sloane and M. J. Vandermast, Numerical analogues of Aronson's sequence (math.NT/0305308)

Cf. A000267, A080036.

Sequence in context: A217352 A036627 A191982 * A184012 A186354 A186149

Adjacent sequences: A080034 A080035 A080036 * A080038 A080039 A080040

nonn

N. J. A. Sloane, Mar 14 2003

approved