OFFSET
1,2
COMMENTS
The sequence is likely to be finite although it contains at least 1 million terms.
Sequence is finite with 6080472 terms, since a(6080471) = 660606060 and a(6080472) = 8822811 have difference -651783249. - Michael S. Branicky, Apr 09 2023
LINKS
Michael S. Branicky, Python program
Scott R. Shannon, Image of the first 1 million terms. The green line is a(n) = n.
EXAMPLE
a(11) = 22 as a(10) - a(9) = 20 - 9 = 11, and 22 is the smallest unused number that does not contain the digit 1.
PROG
(Python) # see link for program that generates full sequence
CROSSREFS
KEYWORD
nonn
AUTHOR
Scott R. Shannon, Apr 08 2023
STATUS
approved