login
A101086
Numbers k for which 997*k + 1009 is prime.
7
0, 6, 10, 12, 22, 36, 64, 76, 82, 94, 126, 130, 136, 144, 150, 162, 174, 186, 202, 204, 246, 250, 252, 274, 276, 292, 294, 300, 306, 312, 330, 342, 360, 364, 390, 430, 466, 472, 480, 484, 490, 502, 526, 540, 546, 582, 586, 592, 594, 606, 610, 616, 622, 642
OFFSET
1,2
COMMENTS
997 is the largest three-digit prime and 1009 is the smallest four-digit prime.
EXAMPLE
If k=6, then 997*6 + 1009 = 6991 (prime).
If k=10, then 997*10 + 1009 = 10979 (prime).
If k=12, then 997*12 + 1009 = 12973 (prime).
MATHEMATICA
Select[Range[0, 700], PrimeQ[997#+1009]&] (* Harvey P. Dale, Jun 29 2011 *)
PROG
(Magma) [ n: n in [0..700] | IsPrime(997*n + 1009) ]; // Vincenzo Librandi, Feb 04 2011
CROSSREFS
KEYWORD
nonn
AUTHOR
Parthasarathy Nambi, Jan 21 2005
EXTENSIONS
Extended by Ray Chandler, Jan 25 2005
STATUS
approved