OFFSET
1,2
COMMENTS
All terms == 1 mod 3. - Zak Seidov, Dec 02 2011
LINKS
Zak Seidov, Table of n, a(n) for n = 1..10000
MATHEMATICA
Select[Range[1100], And @@ PrimeQ /@ ({1, 3} + 4#) &] (* Ray Chandler, Nov 05 2006 *)
nn=10000; k=0; x=1; re=Reap[While[k<nn-.1, If[PrimeQ[1+4x]&&PrimeQ[3+4x], Sow[x]; k++]; x=x+3]][[2, 1]] (* Zak Seidov, Dec 02 2011 *)
PROG
(Magma) [n: n in [0..1100] |IsPrime(4*n+1) and IsPrime(4*n+3)]; // Vincenzo Librandi, Feb 01 2015
CROSSREFS
KEYWORD
nonn
AUTHOR
Artur Jasinski, Oct 30 2006
EXTENSIONS
Extended by Ray Chandler, Nov 05 2006
STATUS
approved