login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A375232
Two terms that contain the digit "d" are always separated by "d" terms that do not contain the digit "d". This is the lexicographically earliest sequence of distinct nonnegative integers with this property.
2
0, 10, 20, 100, 30, 102, 40, 101, 203, 105, 60, 1024, 300, 107, 200, 150, 304, 1026, 80, 109, 230, 10457
OFFSET
1,2
COMMENTS
The sequence is finite, there is no 23rd term.
LINKS
Eric Angelini, Digits and gaps, personal blog of the author.
EXAMPLE
As we start the sequence with a(1) = 0, the digit 0 must be present in every term of the sequence.
We extend it now with a(2) = 10 as 10 is the smallest integer not present that contains the digit 0.
The next term will be a(3) = 20 as 20 is the smallest integer not present that contains the digit 0.
The next term will be a(4) = 100 as 100 is the smallest integer not present that contains both the digits 0 and 1.
The next term will be a(5) = 30 as 30 is the smallest integer not present that contains the digit 0.
The next term will be a(6) = 102 as 102 is the smallest integer not present that contains the digits 0, 1 and 2.
The next term will be a(7) = 40 as 40 is the smallest integer not present that contains the digit 0.
The next term will be a(8) = 101 as 101 is the smallest integer not present that contains both the digits 0 and 1.
Etc.
CROSSREFS
Cf. A284516.
Sequence in context: A276764 A215878 A200985 * A375243 A166641 A101244
KEYWORD
nonn,base,fini,full
AUTHOR
EXTENSIONS
a(14) and successive terms computed by Michael S. Branicky.
STATUS
approved