A106116 Primes without {0, 1} as digits.
2, 3, 5, 7, 23, 29, 37, 43, 47, 53, 59, 67, 73, 79, 83, 89, 97, 223, 227, 229, 233, 239, 257, 263, 269, 277, 283, 293, 337, 347, 349, 353, 359, 367, 373, 379, 383, 389, 397, 433, 439, 443, 449, 457, 463, 467, 479, 487, 499, 523, 547, 557, 563, 569, 577, 587, 593
Offset: 1
Links
- Indranil Ghosh, Table of n, a(n) for n = 1..50000
- Chris C. Caldwell, Yarborough prime
- James Maynard, Primes with restricted digits, arXiv:1604.01041 [math.NT], 2016.
- James Maynard and Brady Haran, Primes without a 7, Numberphile video (2019)
- Index to entries for primes with digits in a given set
Programs
-
Mathematica
Select[Prime[Range[100]], Min[IntegerDigits[ # ]]>1&]
-
PARI
is(p)=vecsort(digits(p),,8)[1]>1 && isprime(p) \\ Charles R Greathouse IV, Jan 02 2013
Formula
a(n) >> n^k with k = log 10/log 8 = 1.107.... - Charles R Greathouse IV, Jan 02 2013
Extensions
Terms > 523 added by Jonathan Vos Post, Feb 10 2010