A106697 Numbers k such that 997*k - 101 is prime.
6, 12, 24, 34, 40, 66, 114, 124, 130, 144, 154, 172, 196, 210, 222, 226, 240, 244, 252, 270, 282, 300, 306, 336, 352, 354, 366, 370, 376, 382, 384, 424, 432, 454, 474, 480, 502, 532, 562, 570, 574, 586, 592, 600, 604, 612, 616, 622, 636, 646, 690, 702, 714
Offset: 1
Examples
If k=6, then 997*k - 101 = 5881 (prime). If k=144, then 997*k - 101 = 143467 (prime).
Programs
-
Magma
[n: n in [1..100000] | IsPrime(997*n - 101)]; // Vincenzo Librandi, Nov 13 2010
-
Mathematica
Select[Range[800],PrimeQ[997#-101]&] (* Harvey P. Dale, Oct 01 2012 *)
-
PARI
is(n)=isprime(997*n-101) \\ Charles R Greathouse IV, Jun 13 2017
Comments