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.

A261184 Primes having only {6, 7, 9} as digits.

Original entry on oeis.org

7, 67, 79, 97, 677, 769, 797, 967, 977, 997, 6679, 6779, 6967, 6977, 6997, 7669, 7699, 9677, 9679, 9697, 9767, 9769, 9967, 66697, 66797, 66977, 67679, 67699, 67777, 67967, 67979, 69677, 69697, 69767, 69779, 69997, 76667, 76679, 76697, 76777, 77699, 77797
Offset: 1

Views

Author

Vincenzo Librandi, Aug 11 2015

Keywords

Comments

A020469 and A020471 are subsequences.

Crossrefs

Cf. similar sequences listed in A261181.

Programs

  • Magma
    [p: p in PrimesUpTo(2*10^5) | Set(Intseq(p)) subset [6, 7, 9]];
  • Mathematica
    Select[Prime[Range[6 10^4]], Complement[IntegerDigits[#], {6, 7, 9}] == {} &]
    Select[Flatten[Table[FromDigits/@Tuples[{6,7,9},n],{n,5}]],PrimeQ] (* Harvey P. Dale, Jun 18 2021 *)