cp's OEIS Frontend

This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.

A124674 Primes with distinct prime digits.

Original entry on oeis.org

2, 3, 5, 7, 23, 37, 53, 73, 257, 523, 2357, 2753, 3257, 3527, 5237, 5273, 7253, 7523
Offset: 1

Views

Author

Tanya Khovanova, Dec 24 2006

Keywords

Crossrefs

Cf. A019546 (primes whose digits are primes), A124673.

Programs

  • Mathematica
    Select[Range[10000], PrimeQ[ # ] && Length[IntegerDigits[ # ]] == Length[Union[IntegerDigits[ # ]]] && Complement[IntegerDigits[ # ], {2, 3, 5, 7}] == {} &]
  • PARI
    is(k) = isprime(k) && setintersect([2, 3, 5, 7], v=vecsort(digits(k))) == v; \\ Jinyuan Wang, Mar 27 2020