OFFSET
1,3
LINKS
G. C. Greubel, Table of n, a(n) for n = 1..5000
EXAMPLE
a(4)=3 because 6*3 + 1 = 19 is prime.
MATHEMATICA
Select[Range[0, 1000], PrimeQ[6 # + 5] &] (* G. C. Greubel, Jan 06 2017 *)
PROG
(Magma) [n: n in [0..200]| IsPrime(6*n+5)] // Vincenzo Librandi, Aug 07 2010
(PARI) is(n)=isprime(6*n+5) \\ Charles R Greathouse IV, Feb 17 2017
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Anton Joha, Jan 26 2001
EXTENSIONS
More terms from Henry Bottomley, Jan 29 2001
STATUS
approved