OFFSET
1,1
COMMENTS
a(n) is the least member of A171102 that is a multiple of n.
LINKS
Robert Israel, Table of n, a(n) for n = 1..10000
EXAMPLE
a(4) = 1234567908 because 1234567908 contains each digit once, 1234567908 = 308641977 * 4, and no smaller number works.
MAPLE
f:= proc(n) local k, a0;
a0:= 123456789*10^max(1, padic:-ordp(n, 10));
for k from ceil(a0/n) do if nops(convert(convert(n*k, base, 10), set))=10 then return n*k fi od
end proc:
map(f, [$1..100]);
CROSSREFS
KEYWORD
nonn,base
AUTHOR
Robert Israel, Dec 02 2025
STATUS
approved
