OFFSET
1,3
COMMENTS
2 is the smallest one digit prime and 101 is the smallest three digit prime.
EXAMPLE
If n=1, then 2*1 + 101 = 103 (prime)
If n=49, then 2*49 + 101 = 199 (prime)
If n=96, then 2*96 + 101 = 293 (prime)
PROG
(Magma) [n: n in [0..1000] | IsPrime(2*n + 101)] // Vincenzo Librandi, Nov 17 2010
(PARI) is(n)=isprime(2*n+101) \\ Charles R Greathouse IV, Jun 13 2017
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Parthasarathy Nambi, Feb 07 2005
STATUS
approved