A139405 Numbers k such that 8*k+1 and 8*k+7 are primes.
2, 5, 9, 12, 24, 29, 32, 44, 54, 57, 74, 75, 80, 107, 110, 122, 129, 137, 152, 162, 165, 170, 179, 185, 194, 200, 207, 219, 222, 234, 249, 260, 267, 285, 297, 299, 302, 305, 332, 339, 362, 414, 432, 452, 470, 500, 509, 519, 555, 557, 564, 570, 582, 584, 599
Offset: 1
Keywords
Links
- Amiram Eldar, Table of n, a(n) for n = 1..10000
Programs
-
Mathematica
a = {}; Do[If[PrimeQ[8 n + 1] && PrimeQ[8 n + 7], AppendTo[a, n]], {n, 1, 1000}]; a