login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A096779
Smallest number not occurring earlier having no common digits with n in its decimal representation.
3
2, 1, 4, 3, 6, 5, 8, 7, 10, 9, 20, 30, 22, 23, 24, 25, 26, 27, 28, 11, 33, 13, 14, 15, 16, 17, 18, 19, 31, 12, 29, 40, 21, 50, 41, 42, 44, 45, 46, 32, 35, 36, 51, 37, 38, 39, 52, 53, 55, 34, 43, 47, 48, 60, 49, 70, 61, 62, 63, 54, 57, 58, 59, 71, 72, 73, 80, 74, 75, 56, 64, 65
OFFSET
1,1
COMMENTS
For n=1023456789 there is no possible a(n), so the sequence is finite. - Eric Angelini, Dec 18 2006
a(123456788) is the last term. - Andrew Weimholt, Dec 19 2006
a(123456788) = 9099900999090090. - Sasha Semenov, Dec 25 2006
LINKS
Sasha Semenov, Notes on computing this sequence [From rec.math]
CROSSREFS
Cf. A030238.
Sequence in context: A163501 A306229 A375757 * A243500 A026262 A026234
KEYWORD
nonn,base,fini,look
AUTHOR
Reinhard Zumkeller, Aug 16 2004
STATUS
approved