A158721 Primes p such that (p + 1)/3 + p is prime.
2, 5, 17, 23, 53, 59, 113, 149, 167, 179, 197, 233, 269, 347, 359, 449, 557, 563, 617, 647, 683, 743, 773, 797, 827, 863, 977, 1049, 1103, 1187, 1319, 1367, 1373, 1409, 1499, 1583, 1607, 1733, 1787, 1877, 1907, 1913, 1997, 2003, 2039, 2267, 2309, 2339
Offset: 1
Keywords
Examples
2 is in the sequence because (2 + 1)/3 + 2 = 1 + 2 = 3, which is prime. 5 is in the sequence because (5 + 1)/3 + 5 = 2 + 5 = 7, which is prime. 11 is not in the sequence because (11 + 1)/3 + 11 = 15 = 3 * 5.
Crossrefs
Programs
-
Mathematica
Select[Prime[Range[350]], PrimeQ[(# + 1)/3 + #] &] (* Harvey P. Dale, Feb 24 2013, simplified by Alonso del Arte, Mar 12 2016 *)
Extensions
Title simplified by Alonso del Arte, Mar 12 2016
Comments