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