A112529 Numbers n such that prime(n) +/- 2n are both primes.
7, 9, 12, 24, 30, 36, 63, 90, 102, 117, 126, 135, 150, 156, 165, 171, 180, 183, 225, 234, 270, 285, 369, 390, 399, 402, 447, 456, 501, 507, 537, 570, 582, 624, 627, 642, 651, 654, 660, 720, 735, 762, 777, 855, 864, 870, 885, 930, 936, 945, 1023, 1029, 1035
Offset: 1
Keywords
Crossrefs
Cf. A064403.
Programs
-
Mathematica
Select[Range[2000], PrimeQ[Prime[ # ]+2# ]&&PrimeQ[Prime[ # ]-2# ]&]
Comments