login
A074157
Smallest multiple of n which uses no digits of n, or 0 if no such number exists.
2
2, 4, 6, 8, 10, 12, 14, 16, 18, 0, 22, 36, 26, 28, 30, 32, 34, 36, 38, 0, 63, 44, 46, 96, 100, 78, 54, 56, 58, 0, 62, 64, 66, 68, 70, 72, 111, 76, 78, 0, 82, 168, 86, 88, 90, 92, 188, 96, 588, 0, 204
OFFSET
1,1
COMMENTS
For numbers n of the form 10k, of the form 10k+5 with a zero somewhere, and those using all 10 digits, a(n) = 0.
Are there numbers using 8 of the 9 nonzero digits for which a(n) is nonzero? If so, what is the smallest such number?
LINKS
PROG
(PARI) a(n) = {if (! (n % 10), return (0)); my(dn = Set(digits(n)), m = 2*n); if (#dn == 10, return (0)); if (!(n % 5) && vecsearch(dn, 0), return (0)); while(#setintersect(Set(digits(m)), dn), m += n); m; } \\ Michel Marcus, Aug 04 2017
CROSSREFS
Sequence in context: A069816 A088116 A100817 * A076309 A088133 A115299
KEYWORD
base,nonn
AUTHOR
Amarnath Murthy, Aug 29 2002
EXTENSIONS
a(24) and a(49) corrected by Michel Marcus, Aug 04 2017
STATUS
approved