A126968 First digit of a(n) is the a(n)-th digit of S [a(n+1) is the smallest available integer not yet present in S].
0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 11, 12, 13, 21, 14, 31, 22, 15, 16, 41, 32, 17, 23, 24, 18, 51, 19, 61, 42, 111, 33, 25, 112, 71, 26, 34, 27, 43, 113, 81, 52, 114, 115, 91, 62, 116, 44, 28, 117, 118, 119, 35, 36, 29, 53, 121, 122, 211, 72, 123, 212, 63, 37, 45
Offset: 0
Examples
The first integer of S starts with the first digit of S: 0, the second integer of S starts with the second digit of S: 1, the third integer of S starts with the third digit of S: 2, the fourth integer of S starts with the fourth digit of S: 3, the fifth integer of S starts with the fifth digit of S: 4, the sixth integer of S starts with the sixth digit of S: 5, the 7th integer of S starts with the 7th digit of S: 6, ... the 11th integer of S ("11") starts with the 11th dig. of S : 1, the 12th integer of S ("12") starts with the 12th dig. of S : 1, the 13th integer of S ("13") starts with the 13th dig. of S : 1, the 14th integer of S ("21") starts with the 14th dig. of S : 2, ...
Links
- Hans Havermann, Table of n, a(n) for n = 0..10000
Crossrefs
Cf. A126969.
Extensions
Corrected and edited by Eric Angelini, Dec 05 2011
Corrected and extended by Hans Havermann, Jan 19 2015
Comments