A329106 Primes containing at least one of the following digits: 4, 6, 8, or 9.
19, 29, 41, 43, 47, 59, 61, 67, 79, 83, 89, 97, 109, 139, 149, 163, 167, 179, 181, 191, 193, 197, 199, 229, 239, 241, 263, 269, 281, 283, 293, 347, 349, 359, 367, 379, 383, 389, 397, 401, 409, 419, 421, 431, 433, 439, 443, 449, 457, 461, 463, 467, 479, 487
Offset: 1
Examples
197 is prime and it contains the digit 9.
Links
- Harvey P. Dale, Table of n, a(n) for n = 1..1000
Crossrefs
Cf. A160337.
Programs
-
Mathematica
Select[Prime[Range[100]],ContainsAny[IntegerDigits[#],{4,6,8,9}]&]
Comments