OFFSET
1,2
COMMENTS
Note 1009 is the smallest four-digit prime and 10007 is the smallest five-digit prime.
LINKS
Harvey P. Dale, Table of n, a(n) for n = 1..1000
EXAMPLE
If n=6, then 1009*6 + 10007 = 16061 (prime).
If n=110, then 1009*110 + 10007 = 120997 (prime).
If n=180, then 1009*180 + 10007 = 191627 (prime).
MATHEMATICA
Select[Range[0, 600], PrimeQ[1009# + 10007] &] (* Stefan Steinerberger, Feb 28 2006 *)
PROG
(PARI) is(n)=isprime(1009*n+10007) \\ Charles R Greathouse IV, Jun 13 2017
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Parthasarathy Nambi, Jan 25 2005
EXTENSIONS
More terms from Stefan Steinerberger, Feb 28 2006
STATUS
approved