

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].


3



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
(list;
graph;
refs;
listen;
history;
text;
internal format)



OFFSET

0,3


COMMENTS

An example of what logologists call a "selfacronymic" sequence.
Except for the initial term, the sequence consists only of zeroless numbers A052382, since no other term can start with a digit 0.  M. F. Hasler, Jan 19 2015


LINKS

Hans Havermann, Table of n, a(n) for n = 0..10000


EXAMPLE

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, ...


CROSSREFS

Cf. A126969.
Sequence in context: A072495 A257671 A285523 * A254785 A126969 A127274
Adjacent sequences: A126965 A126966 A126967 * A126969 A126970 A126971


KEYWORD

nonn,base


AUTHOR

Eric Angelini, Mar 22 2007


EXTENSIONS

Corrected and edited by Eric Angelini, Dec 05 2011
Corrected and extended by Hans Havermann, Jan 19 2015


STATUS

approved



