This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.
%I A339498 #26 Jan 17 2021 12:59:24 %S A339498 161280,362880,40320,51752,31680,27776,21271,19138,15788,12613,11707, %T A339498 9072,8832,8423,7725,6822,6241,5937,5454,5113,4796,4629,4310,4122, %U A339498 3744,3168,3528,3410,3305,3160,2826,2827,2778,2619,2316,2297,2297,2173,2163,2094,2077,2027,1879,1915,1836,1780,1773 %N A339498 Number of zeroless strictly pandigital numbers divisible by the n-th prime. %C A339498 Calculated by Chuck Gaydos. %C A339498 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 %o A339498 (Python) %o A339498 from sympy import prime %o A339498 from itertools import permutations %o A339498 def zeroless_pans(): %o A339498 for p in permutations("123456789"): %o A339498 yield int("".join(p)) %o A339498 def a(n): %o A339498 pn = prime(n) %o A339498 return sum(zlp%pn==0 for zlp in zeroless_pans()) %o A339498 print([a(n) for n in range(1, 43)]) # _Michael S. Branicky_, Dec 07 2020 %Y A339498 Cf. A000040, A050289. %K A339498 nonn,base %O A339498 1,1 %A A339498 _G. L. Honaker, Jr._, Dec 07 2020