A080949 a(1)=0; for n>1, a(n)=a(n-1)-2 if n is already in the sequence, a(n)=a(n-1)+5 otherwise.
0, 5, 10, 15, 13, 18, 23, 28, 33, 31, 36, 41, 39, 44, 42, 47, 52, 50, 55, 60, 65, 70, 68, 73, 78, 83, 88, 86, 91, 96, 94, 99, 97, 102, 107, 105, 110, 115, 113, 118, 116, 114, 119, 117, 122, 127, 125, 130, 135, 133, 138, 136, 141, 146, 144, 149, 154, 159
Offset: 1
Keywords
Links
- 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)