login

Reminder: The OEIS is hiring a new managing editor, and the application deadline is January 26.

A260829
Primes that contain only the digits (5, 6, 7).
2
5, 7, 67, 557, 577, 677, 757, 5557, 5657, 6577, 7577, 7757, 55667, 56767, 57557, 57667, 65557, 65657, 65677, 65777, 67567, 67577, 67757, 67777, 75557, 75577, 75767, 76667, 76757, 76777, 77557, 555557, 555677, 555767, 557567, 565567, 565667, 566557, 566567
OFFSET
1,1
COMMENTS
A020467 and A020469 are subsequences.
LINKS
James Maynard and Brady Haran, Primes without a 7, Numberphile video (2019)
MATHEMATICA
Select[Prime[Range[2 10^5]], Complement[IntegerDigits[#], {5, 6, 7}] == {} &]
PROG
(Magma) [p: p in PrimesUpTo(2*10^6) | Set(Intseq(p)) subset [5, 6, 7]];
CROSSREFS
Cf. similar sequences listed in A260827.
Sequence in context: A108200 A077780 A307361 * A355970 A130189 A180755
KEYWORD
nonn,easy,base
AUTHOR
Vincenzo Librandi, Aug 02 2015
STATUS
approved