OFFSET
1,1
LINKS
Alois P. Heinz, Table of n, a(n) for n = 1..5000
EXAMPLE
23! = 25852016738884976640000 is the smallest factorial containing at least one copy of each decimal digit. Thus a(1) = 23.
MAPLE
a:= proc(n) option remember; local k; for k from a(n-1)
while min((p-> seq(coeff(p, x, j), j=0..9))(add(
x^i, i=convert(k!, base, 10))))<n do od; k
end: a(0):=0:
seq(a(n), n=1..100);
PROG
(Python)
def A353087(n):
k, m, r = 1, 1, 10**(10*n-1)
while m < r:
k += 1
m *= k
s = str(m)
while any(s.count(d) < n for d in '0123456789'):
k += 1
m *= k
s = str(m)
return k # Chai Wah Wu, Apr 22 2022
CROSSREFS
KEYWORD
nonn,base
AUTHOR
Alois P. Heinz, Apr 22 2022
STATUS
approved