OFFSET
1,1
COMMENTS
997 and 1009 are primes.
LINKS
Harvey P. Dale, Table of n, a(n) for n = 1..10000
EXAMPLE
If n=2 then 1009*n - 997 = 1021 (prime).
If n=140 then 1009*n - 997 = 140263 (prime).
MATHEMATICA
Select[Range[1000], PrimeQ[1009#-997]&] (* Harvey P. Dale, Jul 29 2014 *)
PROG
(Magma) [n: n in [1..100000] | IsPrime(1009*n - 997)] - Vincenzo Librandi, Nov 13 2010
(PARI) is(n)=isprime(1009*n-997) \\ Charles R Greathouse IV, Jun 12 2017
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Parthasarathy Nambi, Jun 30 2005
STATUS
approved