OFFSET
1,3
LINKS
Ivan Neretin, Table of n, a(n) for n = 1..10000
Dario Alpern, Factorization using the Elliptic Curve Method
EXAMPLE
If n = 97 then 42n + 5 = 4079 (a prime).
MATHEMATICA
Select[Range[0, 150], PrimeQ[42 # + 5] &] (* Ivan Neretin, Nov 26 2016 *)
PROG
(Magma) [n: n in [0..1000] |IsPrime(42*n + 5)] // Vincenzo Librandi, Dec 02 2010
(PARI) is(n)=isprime(42*n+5) \\ Charles R Greathouse IV, Jun 13 2017
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Parthasarathy Nambi, Aug 01 2009
EXTENSIONS
More terms from Vincenzo Librandi, Mar 25 2010
STATUS
approved