OFFSET
1,2
COMMENTS
1009 and 9973 are the smallest and largest four-digit primes, respectively.
LINKS
Daniel Starodubtsev, Table of n, a(n) for n = 1..10000
EXAMPLE
If k=0, then 1009*k + 9973 = 9973 (prime).
If k=144, then 1009*k + 9973 = 155269 (prime).
PROG
(Magma) [n: n in [0..700] | IsPrime(1009*n+9973)]; // Vincenzo Librandi, Nov 13 2010
(PARI) is(n)=isprime(1009*n+9973) \\ Charles R Greathouse IV, Jun 06 2017
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Parthasarathy Nambi, May 06 2005
STATUS
approved