OFFSET
1,1
COMMENTS
The sequence starts with a(1) = 2 and is always extended with the smallest integer not yet present that does not lead to a contradiction.
A permutation of the natural numbers.
LINKS
Jean-Marc Falcoz, Table of n, a(n) for n = 1..10001
EXAMPLE
2 shows a digit 2, of course (k = 1)
2 + 10 = 12 and 12 shows at least a digit 2 (k = 2)
2 + 10 + 8 = 20 and 20 shows at least a digit 2 (k = 3)
2 + 10 + 8 + 1 = 21 and 21 shows at least a digit 2 (k = 4)
2 + 10 + 8 + 1 + 3 = 24 and 24 shows at least a digit 2 (k = 5)
2 + 10 + 8 + 1 + 3 + 4 = 28 and 28 shows at least a digit 2 (k = 6)
...
CROSSREFS
KEYWORD
nonn,base
AUTHOR
Eric Angelini and Jean-Marc Falcoz, Feb 23 2018
STATUS
approved