For the smallest q for which there exists a fraction p/q containing n in its decimal expansion, this sequence gives the smallest p.

A081664

For the smallest q for which there exists a fraction p/q containing n in its decimal expansion, this sequence gives the smallest p.

Terms

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

External references