login
A323579
Primes formed by using the four terminal digits of multidigit primes and whose digits are distinct, i.e., consisting of only digits 1, 3, 7, 9.
0
3, 7, 13, 17, 19, 31, 37, 71, 73, 79, 97, 137, 139, 173, 179, 193, 197, 317, 379, 397, 719, 739, 937, 971, 1973, 3719, 3917, 7193, 9137, 9173, 9371
OFFSET
1,1
COMMENTS
There are only 31 terms in this sequence, which is a finite subsequence of A091633 and of A155045.
719 is also the third factorial prime belonging to A055490.
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).
Sequence in context: A172240 A129901 A067073 * A124273 A038923 A310254
KEYWORD
nonn,base,fini,full
AUTHOR
Bernard Schott, Jan 24 2019
STATUS
approved