A105679 Numbers k such that 997*k + 101 is prime.
0, 18, 24, 30, 36, 38, 44, 54, 56, 60, 78, 80, 86, 96, 108, 114, 128, 140, 144, 158, 168, 170, 176, 186, 198, 200, 206, 210, 224, 260, 288, 330, 348, 350, 366, 368, 374, 390, 414, 434, 444, 458, 470, 486, 488, 494, 530, 540, 560, 564, 570, 576, 596, 614, 648
Offset: 1
Keywords
Examples
If k=0, then 997*k + 101 = 101 (prime). If k=96, then 997*k + 101 = 95813 (prime).
Links
- Harvey P. Dale, Table of n, a(n) for n = 1..1000
Crossrefs
Cf. A105680.
Programs
-
Magma
[n: n in [0..700] | IsPrime(997*n+101)]; // Vincenzo Librandi, Nov 13 2010
-
Mathematica
Select[Range[0,1000],PrimeQ[997#+101]&] (* Harvey P. Dale, May 23 2012 *)
-
PARI
is(n)=isprime(997*n+101) \\ Charles R Greathouse IV, May 22 2017
Comments