OFFSET
1,1
LINKS
Harvey P. Dale, Table of n, a(n) for n = 1..1000
EXAMPLE
If k=148 then 21*k + 1 = 3109 (prime).
MATHEMATICA
Select[Range[300], PrimeQ[21#+1]&] (* Harvey P. Dale, Mar 08 2016 *)
PROG
(Magma) [n: n in [0..300] | IsPrime(21*n + 1)] // Vincenzo Librandi, Mar 26 2010
(PARI) is(n)=isprime(21*n+1) \\ Charles R Greathouse IV, Jun 06 2017
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Parthasarathy Nambi, Dec 06 2006
STATUS
approved