A210416 List the positions of all digits 2 in the concatenation of all terms, not necessarily in order. This is the lexicographically earliest such sequence.
2, 20, 1, 6, 21, 9, 22, 10, 15, 23, 19, 222, 220, 25, 27, 29, 32, 35, 200, 40, 201, 45, 202, 47, 52, 203, 51, 59, 204, 64, 205, 69, 206, 74, 207, 79, 208, 84, 209, 89, 210, 94, 211, 99, 212, 101, 108, 213, 114, 214, 120, 215, 118, 127, 132, 216, 131, 141, 217
Offset: 1
Examples
The sequence starts with 2: the second digit is equal to 2. In the second position we cannot write only 2 because the first number is already 2. So we use the minimum number greater than 2 and beginning with digit 2, i.e., 20. In the third position we can write 1 because the digit in the first position is 2. And so on.
Links
- Danny Rorabaugh, Table of n, a(n) for n = 1..1000
Comments