Smallest positive integer not occurring earlier having no common digits with n in its decimal representation.

A096779

Smallest positive integer not occurring earlier having no common digits with n in its decimal representation.

Terms

    a(0) =2a(1) =1a(2) =4a(3) =3a(4) =6a(5) =5a(6) =8a(7) =7a(8) =10a(9) =9a(10) =20a(11) =30a(12) =22a(13) =23a(14) =24a(15) =25a(16) =26a(17) =27a(18) =28a(19) =11a(20) =33a(21) =13a(22) =14a(23) =15a(24) =16a(25) =17a(26) =18a(27) =19a(28) =31a(29) =12

External references