OFFSET
1,1
LINKS
Vincenzo Librandi, Table of n, a(n) for n = 1..10000
MATHEMATICA
f[n_]:=666*n+1; lst={}; Do[p=f[n]; If[PrimeQ[p], AppendTo[lst, p]], {n, 0, 6!}]; lst (* Vladimir Joseph Stephan Orlovsky, Jul 02 2009 *)
Select[Table[666n+1, {n, 0, 500}], PrimeQ] (* Vincenzo Librandi, Dec 08 2011 *)
PROG
(Magma) [a: n in [0..100] | IsPrime(a) where a is 666*n + 1]; // Vincenzo Librandi, Dec 08 2011
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
STATUS
approved