Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).
%I #17 Sep 08 2022 08:46:13
%S 5,7,59,79,97,557,577,599,757,797,977,997,5557,5779,7559,7577,7757,
%T 7759,55579,55799,55997,57557,57559,57977,59557,59779,59797,59957,
%U 59999,75557,75577,75797,75979,75997,77557,77797,77977,77999,79559,79579,79757,79777
%N Primes that contain only the digits (5, 7, 9).
%C A020467, A020468 and A020471 are subsequences.
%C Subsequence of A030096.
%H Alois P. Heinz, <a href="/A260831/b260831.txt">Table of n, a(n) for n = 1..10000</a>
%H James Maynard and Brady Haran, <a href="https://www.youtube.com/watch?v=eeoBCS7IEqs">Primes without a 7</a>, Numberphile video (2019)
%t Select[Prime[Range[2 10^5]], Complement[IntegerDigits[#], {5, 7, 9}] == {} &]
%o (Magma) [p: p in PrimesUpTo(2*10^5) | Set(Intseq(p)) subset [5, 7, 9]];
%Y Cf. similar sequences listed in A260827.
%Y Cf. A000040, A020467, A020468, A020471, A030096.
%K nonn,easy,base
%O 1,1
%A _Vincenzo Librandi_, Aug 03 2015