OFFSET
1,2
LINKS
Michael De Vlieger, Table of n, a(n) for n = 1..10000
EXAMPLE
If k=0, then 7*k + 2 = 2 (prime).
If k=63, then 7*63 + 2 = 443 (prime).
MATHEMATICA
Select[Range[0, 500], PrimeQ[7#+2]&] (* Harvey P. Dale, Apr 21 2011 *)
PROG
(Magma) [n: n in [0..500]| IsPrime(7*n + 2)]; // Vincenzo Librandi, Feb 03 2011
(PARI) is(n)=isprime((7*n+2)) \\ Charles R Greathouse IV, Feb 17 2017
CROSSREFS
KEYWORD
nonn
AUTHOR
Parthasarathy Nambi, May 04 2005
EXTENSIONS
More terms from Rick L. Shepherd, May 18 2005
STATUS
approved