OFFSET
1,2
COMMENTS
The sequence starts with a(1) = 1 and is always extended with the smallest integer not yet present that does not lead to a contradiction.
A permutation of the natural numbers.
A fractal structure arises when considering the sequence b defined by b(n) = a(n) - n at different scales. - Rémy Sigrist, Feb 19 2019
LINKS
Jean-Marc Falcoz, Table of n, a(n) for n = 1..10001
Rémy Sigrist, Scatterplot of (n, a(n)-n) for n = 1..1000000
EXAMPLE
1 shows a digit 1, of course (k = 1)
1 + 9 = 10 and 10 shows at least a digit 1 (k = 2)
1 + 9 + 2 = 12 and 12 shows at least a digit 1 (k = 3)
1 + 9 + 2 + 3 = 15 and 15 shows at least a digit 1 (k = 4)
1 + 9 + 2 + 3 + 4 = 19 and 19 shows at least a digit 1 (k = 5)
1 + 9 + 2 + 3 + 4 + 12 = 31 and 31 shows at least a digit 1 (k = 6)
...
CROSSREFS
KEYWORD
nonn,base
AUTHOR
Eric Angelini and Jean-Marc Falcoz, Feb 23 2018
STATUS
approved