OFFSET
1,1
COMMENTS
997 and 1009 are primes.
All terms are even. - Harvey P. Dale, Mar 09 2019
LINKS
Harvey P. Dale, Table of n, a(n) for n = 1..1000
EXAMPLE
If n=6, then 997*n - 1009 = 4973 (prime).
If n=90, then 997*n - 1009 = 88721 (prime).
MAPLE
a:=proc(n) if isprime(997*n-1009)=true then n else fi end: seq(a(n), n=1..750); # Emeric Deutsch, Jul 04 2005
MATHEMATICA
Select[Range[2, 700, 2], PrimeQ[997#-1009]&] (* Harvey P. Dale, Mar 09 2019 *)
PROG
(PARI) is(n)=isprime(997*n-1009) \\ Charles R Greathouse IV, Jun 13 2017
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Parthasarathy Nambi, Jun 30 2005
EXTENSIONS
More terms from Emeric Deutsch, Jul 04 2005
STATUS
approved
