login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A329760 Primes avoiding the digits 2 and 7. 2
3, 5, 11, 13, 19, 31, 41, 43, 53, 59, 61, 83, 89, 101, 103, 109, 113, 131, 139, 149, 151, 163, 181, 191, 193, 199, 311, 313, 331, 349, 353, 359, 383, 389, 401, 409, 419, 431, 433, 439, 443, 449, 461, 463, 491, 499, 503, 509, 541, 563, 569, 593, 599, 601, 613 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
LINKS
Marianne Freiberger, Primes without 7s.
James Maynard, Primes with restricted digits, arXiv:1604.01041 [math.NT], 2016.
James Maynard and Brady Haran, Primes without a 7, Numberphile video (2019)
FORMULA
{ A038604 } intersect { A038615 }.
MATHEMATICA
Select[Prime[Range[120]], DigitCount[#, 10, 2]==0 && DigitCount[#, 10, 7]==0 &] (* Vincenzo Librandi, Jan 02 2020 *)
PROG
(Magma) [p: p in PrimesUpTo(700) | not 2 in Intseq(p) and not 7 in Intseq(p) ]; // Vincenzo Librandi, Jan 02 2020
CROSSREFS
Sequence in context: A175865 A001122 A152871 * A156221 A207325 A295243
KEYWORD
nonn,base
AUTHOR
Alois P. Heinz, Nov 20 2019
STATUS
approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified April 25 10:01 EDT 2024. Contains 371967 sequences. (Running on oeis4.)