login
A261267
Primes that contain only the digits (0, 2, 7).
2
2, 7, 227, 277, 727, 2027, 2207, 2707, 2777, 7027, 7207, 7727, 20707, 22027, 22277, 22727, 22777, 27077, 27277, 70207, 72077, 72227, 72277, 72707, 72727, 200227, 202277, 202777, 207227, 222007, 222707, 227027, 227207, 227707, 272227, 272777, 277007
OFFSET
1,1
COMMENTS
A020459 is a subsequence.
LINKS
MATHEMATICA
Select[Prime[Range[6 10^4]], Complement[IntegerDigits[#], {0, 2, 7}] == {}&]
PROG
(Magma) [p: p in PrimesUpTo(2*10^6) | Set(Intseq(p)) subset [0, 2, 7]];
CROSSREFS
Cf. Primes that contain only the digits (0,2,k): A036953 (k=1), A260125 (k=3), this sequence (k=7), A261268 (k=9).
Sequence in context: A181864 A096463 A048560 * A020459 A343899 A088106
KEYWORD
nonn,easy,base
AUTHOR
Vincenzo Librandi, Aug 13 2015
STATUS
approved