OFFSET
1,1
COMMENTS
Calculated by Chuck Gaydos.
a(4620), for prime(4620) = 44449, is the first zero entry. The last nonzero entry is a(6289143) for prime 109739359 = 987654231 / 9. - Michael S. Branicky, Dec 07 2020
PROG
(Python)
from sympy import prime
from itertools import permutations
def zeroless_pans():
for p in permutations("123456789"):
yield int("".join(p))
def a(n):
pn = prime(n)
return sum(zlp%pn==0 for zlp in zeroless_pans())
print([a(n) for n in range(1, 43)]) # Michael S. Branicky, Dec 07 2020
CROSSREFS
KEYWORD
nonn,base
AUTHOR
G. L. Honaker, Jr., Dec 07 2020
STATUS
approved