OFFSET
1,2
COMMENTS
11 is the smallest two-digit prime and 101 is the smallest three-digit prime.
EXAMPLE
If k=0, then 11*0 + 101 = 101 (prime).
If k=6, then 11*6 + 101 = 167 (prime).
If k=60, then 11*60 + 101 = 761 (prime).
MATHEMATICA
Select[Range[0, 300], PrimeQ[11# + 101] &] (* Stefan Steinerberger, Feb 28 2006 *)
PROG
(Magma) [n: n in [0..1000] | IsPrime(11*n + 101)]; // Vincenzo Librandi, Nov 17 2010
(PARI) is(n)=isprime(11*n+101) \\ Charles R Greathouse IV, Jun 13 2017
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Parthasarathy Nambi, Jan 24 2005
EXTENSIONS
More terms from Stefan Steinerberger, Feb 28 2006
STATUS
approved