OFFSET
1,1
COMMENTS
There are exactly 97 three-digit primes with all distinct digits, so the sequence is finite.
LINKS
Jinyuan Wang, Table of n, a(n) for n = 1..96
EXAMPLE
a(1)=4 because the first and the second three-digit primes with all distinct digits are 103, 107 and difference between them is 4.
MATHEMATICA
se=Select[Range[103, 983, 2], Length[Union[IntegerDigits[ # ]]]==3&&PrimeQ[ # ]&]; Flatten[Table[{se[[i+1]]-se[[i]]}, {i, 96}]]
CROSSREFS
The first differences of the A074675. For 4-digit distinct-digit primes, see A074673, A074674. For 5-digit distinct-digit primes, see A074671, A074672. For 6-digit distinct-digit primes, see A074669, A074670. For 7-digit distinct-digit primes, see A074667, A074668. For 8-digit distinct-digit primes, see A074665, A074666.
KEYWORD
nonn,base,fini,full
AUTHOR
Zak Seidov, Aug 30 2002
STATUS
approved