login
A140552
Primes p such that neither p - 34 nor p + 34 is prime.
0
2, 5, 11, 17, 23, 29, 31, 43, 59, 61, 83, 89, 109, 127, 149, 151, 167, 179, 181, 211, 239, 241, 251, 269, 271, 281, 293, 307, 331, 337, 353, 359, 373, 379, 389, 419, 421, 439, 449, 461, 463, 479, 499, 503, 509, 541, 547, 563, 569, 571, 577, 587, 593, 599, 601
OFFSET
1,1
MATHEMATICA
Select[Prime[Range[110]], CompositeQ[#+34]&&If[#<34, True, CompositeQ[ #- 34]]&] (* Harvey P. Dale, May 18 2019 *)
CROSSREFS
Sequence in context: A118754 A140559 A067775 * A138644 A350314 A164921
KEYWORD
nonn
AUTHOR
EXTENSIONS
Corrected (17 inserted because -17 is not a prime) by R. J. Mathar, Apr 25 2010
STATUS
approved