%I #7 Dec 05 2013 14:34:16
%S 10235647,10236547,10243567,10243657,10245637,10247563,10254367,
%T 10254763,10256347,10256473,10257463,10264357,10264537,10346257,
%U 10356427,10364527,10425367,10425637,10425673,10426357,10426753
%N Eight-digit primes which use each of 0-to-7 decimal digits exactly once.
%C There are exactly 2668 eight-digit primes using digits 0-to-7 exactly once: here the smallest ones are given; cf. A109178 with the largest ones.
%H Harvey P. Dale, <a href="/A109177/b109177.txt">Table of n, a(n) for n = 1..2668</a>
%t Take[FromDigits/@Select[Permutations[Range[0,7]],First[#]!=0&&PrimeQ[ FromDigits[ #]]&],50] (* _Harvey P. Dale_, Aug 16 2011 *)
%Y Cf. A109178.
%K base,nonn
%O 1,1
%A _Zak Seidov_, Jun 21 2005
|