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”).

A339018
Lexicographically earliest sequence of distinct nonnegative terms such that the numbers of digits between successive 1s are distinct.
1
0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 20, 12, 22, 13, 23, 21, 24, 25, 26, 14, 27, 28, 15, 29, 30, 32, 16, 33, 34, 35, 36, 17, 37, 38, 39, 40, 31, 42, 43, 44, 45, 46, 41, 47, 48, 49, 50, 52, 53, 18, 54, 55, 56, 57, 58, 59, 19, 60, 62, 63, 64, 65, 66, 51, 67, 68, 69, 70, 72, 73, 74, 61, 75, 76, 77, 78, 79
OFFSET
1,3
LINKS
EXAMPLE
There are 8 digits between the 1 of a(2) = 1 and the 1 of a(11) = 10: they are 2,3,4,5,6,7,8 and 9;
there is 1 digit between the 1 of a(11) = 10 and the first 1 of a(12) = 11: this is 0;
there is 0 digit between the first 1 of a(12) = 11 and the last 1 of a(12) = 11;
there are 2 digits between the last 1 of a(12) = 11 and the 1 of a(14) = 12: they are 2 and 0; etc.
All those gaps between successive 1s are distinct.
CROSSREFS
Cf. A273479.
Sequence in context: A377961 A275512 A332144 * A303948 A275413 A273376
KEYWORD
base,nonn
AUTHOR
Eric Angelini, Nov 19 2020
STATUS
approved