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