A288941 a(n) is the least natural number not included earlier having all decimal digits except the digits in n; if n is pandigital or zeroless pandigital, a(n) is simply the least natural number not included earlier.
123456789, 203456789, 103456789, 102456789, 102356789, 102346789, 102345789, 102345689, 102345679, 102345678, 23456789, 203456798, 30456789, 20456789, 20356789, 20346789, 20345789, 20345689, 20345679, 20345678, 13456789
Offset: 0
Examples
For n = 0, a(0) = 123456789, the least natural number containing all decimal digits but the digit 0. For n = 11, a(11) = 203456798, which has all decimal digits but the digit 1 and is the first such number with that property that is larger than 203456789 (= a(1)).
Comments