OFFSET
1,1
COMMENTS
LINKS
Chris K. Caldwell and G. L. Honaker, Jr., 9371, Prime Curios!
EXAMPLE
1973 and 9371 are respectively the smallest and the largest primes formed with the four digits that can end multidigit primes.
MATHEMATICA
With[{w = Select[Range@ 10, GCD[#, 10] == 1 &]}, Select[FromDigits /@ Permutations[w, Length@ w], PrimeQ]] (* Michael De Vlieger, Feb 03 2019 *)
CROSSREFS
Cf. A029743 (with distinct digits), A124674 (with distinct prime digits), A155024 (with distinct nonprime digits but with 0), A155045 (with distinct odd digits), A323387 (with distinct square digits), A323391 (with distinct nonprime digits), A323578 (with distinct digits for which parity of digits alternates).
KEYWORD
nonn,base,fini,full
AUTHOR
Bernard Schott, Jan 24 2019
STATUS
approved