%I #21 Feb 03 2024 00:49:40
%S 0,6,10,12,22,36,64,76,82,94,126,130,136,144,150,162,174,186,202,204,
%T 246,250,252,274,276,292,294,300,306,312,330,342,360,364,390,430,466,
%U 472,480,484,490,502,526,540,546,582,586,592,594,606,610,616,622,642
%N Numbers k for which 997*k + 1009 is prime.
%C 997 is the largest three-digit prime and 1009 is the smallest four-digit prime.
%e If k=6, then 997*6 + 1009 = 6991 (prime).
%e If k=10, then 997*10 + 1009 = 10979 (prime).
%e If k=12, then 997*12 + 1009 = 12973 (prime).
%t Select[Range[0,700],PrimeQ[997#+1009]&] (* _Harvey P. Dale_, Jun 29 2011 *)
%o (Magma) [ n: n in [0..700] | IsPrime(997*n + 1009) ]; // _Vincenzo Librandi_, Feb 04 2011
%Y Cf. A100776, A101084, A101123, A101444.
%K nonn
%O 1,2
%A _Parthasarathy Nambi_, Jan 21 2005
%E Extended by _Ray Chandler_, Jan 25 2005
|