OFFSET
1,1
COMMENTS
Sequence has 1234567 terms, ending with a(1234567) = 9990990999. - Michael S. Branicky, Apr 08 2023
LINKS
Michael S. Branicky, Table of n, a(n) for n = 1..10000
Michael S. Branicky, Python program
MATHEMATICA
f[s_List] := Block[{k = 1, len = Length@s}, id = Union@ Flatten[ IntegerDigits /@ {len, len + 1, len + 2}]; While[ MemberQ[s, k] || Intersection[id, IntegerDigits@k] != {}, k++ ]; Append[s, k]]; Nest[f, {}, 73] (* Robert G. Wilson v, Sep 25 2010 *)
PROG
(Python) # see linked program generating full sequence
CROSSREFS
KEYWORD
nonn,base,fini
AUTHOR
N. J. A. Sloane, Sep 06 2010, based on an email from Eric Angelini, Jun 30 2010
EXTENSIONS
a(22) inserted, a(25) and a(26) corrected, etc. by Robert G. Wilson v, Sep 25 2010
a(42) corrected by Michael S. Branicky, Apr 08 2023
STATUS
approved