OFFSET
1,2
EXAMPLE
If n=109 then 5*n + 12 = 557 (prime).
MATHEMATICA
Select[Range[300], PrimeQ[5 # + 12] &]
PROG
(Magma) [n: n in [0..100000] |IsPrime(5*n+12)]; // Vincenzo Librandi, Nov 13 2010
(PARI) is(n)=isprime(5*n+12) \\ Charles R Greathouse IV, Jun 13 2017
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Parthasarathy Nambi, Oct 26 2005
STATUS
approved