login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A124674
Primes with distinct prime digits.
5
2, 3, 5, 7, 23, 37, 53, 73, 257, 523, 2357, 2753, 3257, 3527, 5237, 5273, 7253, 7523
OFFSET
1,1
LINKS
Caldwell and Honaker, 2357, Prime Curios!
MATHEMATICA
Select[Range[10000], PrimeQ[ # ] && Length[IntegerDigits[ # ]] == Length[Union[IntegerDigits[ # ]]] && Complement[IntegerDigits[ # ], {2, 3, 5, 7}] == {} &]
PROG
(PARI) is(k) = isprime(k) && setintersect([2, 3, 5, 7], v=vecsort(digits(k))) == v; \\ Jinyuan Wang, Mar 27 2020
CROSSREFS
Cf. A019546 (primes whose digits are primes), A124673.
Sequence in context: A104179 A096148 A211681 * A177061 A020994 A085823
KEYWORD
nonn,base,fini,full
AUTHOR
Tanya Khovanova, Dec 24 2006
STATUS
approved