OFFSET
1,1
COMMENTS
1009 and 9973 are the smallest and largest of four-digit primes.
EXAMPLE
If k=14, then 1009*k - 9973 = 4153 (prime).
If k=128, then 1009*k - 9973 = 119179 (prime).
PROG
(Magma) [n: n in [10..100000] | IsPrime(1009*n - 9973)]; // Vincenzo Librandi, Nov 13 2010
(PARI) is(n)=isprime(1009*n-9973) \\ Charles R Greathouse IV, Jun 13 2017
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Parthasarathy Nambi, May 13 2005
STATUS
approved