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.

A261434 Primes having only {0, 3, 8} as digits.

Original entry on oeis.org

3, 83, 383, 883, 3083, 3803, 3833, 8803, 30803, 33083, 38083, 38303, 38333, 38803, 38833, 80803, 80833, 83003, 83383, 83833, 88003, 88883, 303803, 308003, 308303, 308333, 308383, 330383, 333383, 333803, 338033, 338383, 338803, 380333, 380383, 380803, 383083
Offset: 1

Views

Author

Vincenzo Librandi, Aug 18 2015

Keywords

Comments

A020464 is a subsequence.

Crossrefs

Cf. Primes that contain only the digits (0,3,k): A260044 (k=1), A260125 (k=2), A199340 (k=4), A260223 (k=5), A260378 (k=7), this sequence (k=8).

Programs

  • Magma
    [p: p in PrimesUpTo(2*10^6) | Set(Intseq(p)) subset [0, 3, 8]];
  • Mathematica
    Select[Prime[Range[2 10^5]], Complement[IntegerDigits[#], {0, 3, 8}] == {} &]
    Select[FromDigits/@Tuples[{0,3,8},6],PrimeQ] (* Harvey P. Dale, Jul 10 2017 *)