OFFSET
1,1
COMMENTS
The number of distinct-digit primes are finite. E.g. there are exactly 145227 such nine-digit primes from 102345689 to 987654103.
All terms have exactly one "0" because nine-digit zero-less numbers with all distinct digits are divisible by 9. - Zak Seidov, Mar 15 2015
LINKS
Zak Seidov, Table of n, a(n) for n = 1..10000
EXAMPLE
a(1)=102345689 because 102345689 is the smallest 9-digit prime with all distinct digits.
PROG
(Python)
from sympy import isprime
from itertools import permutations as perms
nines = (int("".join(p)) for p in perms("0123456789", 9) if p[0] != "0")
afull = [k for k in nines if isprime(k)]
print(afull[:24]) # Michael S. Branicky, Aug 04 2022
CROSSREFS
KEYWORD
fini,nonn,base
AUTHOR
Zak Seidov, Aug 29 2002
STATUS
approved