OFFSET
1,1
LINKS
Vincenzo Librandi, Table of n, a(n) for n = 1..1000
MAPLE
select(k->isprime(7*k+1), [$1..370]); # Muniru A Asiru, Jul 15 2018
MATHEMATICA
Select[Range[400], PrimeQ[7 # + 1] &] (* Vladimir Joseph Stephan Orlovsky, Feb 25 2011 *)
PROG
(Magma) [n: n in [1..10000] | IsPrime(7*n+1)]; // Vincenzo Librandi, Nov 20 2010
(PARI) is(n)=isprime(7*n+1) \\ Charles R Greathouse IV, Feb 20 2017
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
STATUS
approved