OFFSET
1,1
LINKS
Daniel Starodubtsev, Table of n, a(n) for n = 1..90509 (complete sequence)
EXAMPLE
a(1)=170 because first two 8-digit distinct-digit primes are 10234589 and 10234759 and difference between them is 170.
MATHEMATICA
se=Select[Range[10234589, 98765431, 2], Length[Union[IntegerDigits[ # ]]]==8 &&PrimeQ[ # ]&]; Flatten[Table[{se[[i+1]]-se[[i]]}, {i, 90510}]]
Differences[Select[Prime[Range[679128, 685000]], Length[Union[ IntegerDigits[#]]] == 8&]] (* Harvey P. Dale, Nov 12 2014 *)
CROSSREFS
KEYWORD
fini,full,nonn,base
AUTHOR
Zak Seidov, Aug 30 2002
STATUS
approved