login
The OEIS Foundation is supported by donations from users of the OEIS and by a grant from the Simons 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

Alois P. Heinz, Table of n, a(n) for n = 1..20000

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

Cf. A000040, A020459, A038604, A038615.

Sequence in context: A175865 A001122 A152871 * A156221 A207325 A295243

Adjacent sequences:  A329757 A329758 A329759 * A329761 A329762 A329763

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 | Recent
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified August 15 13:27 EDT 2020. Contains 336504 sequences. (Running on oeis4.)