A124127 Numbers k such that 17k + 1 is prime.
6, 8, 14, 18, 24, 26, 36, 38, 54, 56, 60, 66, 74, 78, 80, 84, 90, 98, 110, 116, 126, 138, 140, 150, 158, 164, 168, 180, 186, 194, 204, 210, 216, 228, 230, 236, 248, 260, 266, 270, 290, 294, 300, 308, 318, 320, 344, 356, 360, 368, 374, 378, 384, 386, 396, 404
Offset: 1
Examples
If k=116 then 17*k + 1 = 1973 (prime).
Links
- Daniel Starodubtsev, Table of n, a(n) for n = 1..10000
Programs
-
Magma
[n: n in [0..500] | IsPrime(17*n + 1)] // Vincenzo Librandi, Mar 26 2010
-
Mathematica
Select[Range[500],PrimeQ[17#+1]&] (* Harvey P. Dale, Nov 28 2019 *)
-
PARI
is(n)=isprime(17*n+1) \\ Charles R Greathouse IV, Jun 13 2017