A103706 Add 7 to each of the preceding digits, beginning with 1.
1, 8, 15, 8, 12, 15, 8, 9, 8, 12, 15, 16, 15, 8, 9, 8, 12, 8, 13, 8, 12, 15, 16, 15, 8, 9, 15, 8, 10, 15, 8, 9, 8, 12, 8, 13, 8, 12, 15, 16, 8, 12, 15, 8, 7, 8, 12, 15, 16, 15, 8, 9, 15, 8, 10, 15, 8, 9, 8, 12, 8, 13, 15, 8, 9, 8, 12, 15, 14, 15, 8, 9, 8, 12, 8, 13, 8, 12, 15, 16, 8, 12, 15
Offset: 1
Programs
-
Mathematica
Flatten[ NestList[ Function[x, Flatten[ IntegerDigits[x] + 7]], {1}, 10]]