OFFSET
1,1
MATHEMATICA
Select[Range[10^6], PrimeQ[10^8# + 1] && PrimeQ[10^8# + 3] && PrimeQ[10^8# + 7] && PrimeQ[10^8# + 9] &]
Select[Range[900000], AllTrue[100000000#+{1, 3, 7, 9}, PrimeQ]&] (* The program uses the AllTrue function from Mathematica version 10 *) (* Harvey P. Dale, May 14 2016 *)
CROSSREFS
KEYWORD
nonn
AUTHOR
Robert G. Wilson v, Oct 29 2001
STATUS
approved