OFFSET
1,2
EXAMPLE
The multiples of 3 are: 3, 6, 9, 12, 15, etc.; 12 is the first one containing the digit 1, hence a(3) = 12/3 = 4.
PROG
(PARI) a(n) = for (k=1, oo, if (setsearch(Set(digits(k*n)), 1), return (k)))
CROSSREFS
KEYWORD
nonn,base,easy
AUTHOR
Rémy Sigrist, Jul 23 2018
STATUS
approved