OFFSET
1,1
COMMENTS
The sequence starts with a(1) = 4 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
4 shows a digit 4, of course (k = 1)
4 + 10 = 14 and 14 shows at least a digit 4 (k = 2)
4 + 10 + 20 = 34 and 34 shows at least a digit 4 (k = 3)
4 + 10 + 20 + 6 = 40 and 40 shows at least a digit 4 (k = 4)
4 + 10 + 20 + 6 + 1 = 41 and 41 shows at least a digit 4 (k = 5)
4 + 10 + 20 + 6 + 1 + 2 = 43 and 43 shows at least a digit 4 (k = 6)
...
CROSSREFS
KEYWORD
nonn,base
AUTHOR
Eric Angelini and Jean-Marc Falcoz, Feb 23 2018
STATUS
approved