OFFSET
1,2
COMMENTS
101 is the smallest three-digit prime and 11 is the smallest two-digit prime.
LINKS
Harvey P. Dale, Table of n, a(n) for n = 1..1000
EXAMPLE
If k=6, then 101*6 + 11 = 617 (prime).
If k=82, then 101*82 + 11 = 8293 (prime).
If k=178, then 101*178 + 11 = 17989 (prime).
MATHEMATICA
Select[Range[0, 600], PrimeQ[101#+11]&] (* Harvey P. Dale, Feb 28 2015 *)
PROG
(Magma) [n: n in [0..1000] | IsPrime(101*n + 11)]; // Vincenzo Librandi, Nov 17 2010
(PARI) is(n)=isprime(101*n+11) \\ Charles R Greathouse IV, Jun 12 2017
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Parthasarathy Nambi, Feb 15 2005
STATUS
approved