OFFSET
1,2
COMMENTS
101 is the smallest three-digit prime and 1009 is the smallest four-digit prime.
LINKS
G. C. Greubel, Table of n, a(n) for n = 1..10000
EXAMPLE
If n=0, then 101*0 + 1009 = 1009 (prime).
If n=90, then 101*90 + 1009 = 10099 (prime).
If n=164, then 101*164 + 1009 = 17573 (prime).
MATHEMATICA
Select[Range[0, 500], PrimeQ[101# + 1009] &] (* Stefan Steinerberger, Feb 28 2006 *)
PROG
(PARI) is(n)=isprime(101*n+1009) \\ 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