(MAGMAMagma) [n: n in [0..10^6] | IsPrime(n+1) and IsPrime(n+3) and IsPrime(n+7) and IsPrime(n+9) and IsPrime(n+13)]; // Vincenzo Librandi, Jun 15 2015
(MAGMAMagma) [n: n in [0..10^6] | IsPrime(n+1) and IsPrime(n+3) and IsPrime(n+7) and IsPrime(n+9) and IsPrime(n+13)]; // Vincenzo Librandi, Jun 15 2015
proposed
approved
editing
proposed
W. Sierpiński, W. 250 Problems in Elementary Number Theory. New York: American Elsevier, 1970. Problem #82, variant.
proposed
editing
editing
proposed
(MAGMA) [n: n in [0..10^6] | IsPrime(n+1) and IsPrime(n+3) and IsPrime(n+7) and IsPrime(n+9) and IsPrime(n+13)]; // Vincenzo Librandi, Jun 15 2015
proposed
editing
editing
proposed
Sierpinski, Sierpiński, W. 250 Problems in Elementary Number Theory. New York: American Elsevier, 1970. Problem #82, variant.
approved
editing
editing
approved
Select[Range[10^6], AllTrue[#+{1, 3, 7, 9, 13}, PrimeQ]&] (* The program uses the AllTrue function from Mathematica version 10 *) (* Harvey P. Dale, May 07 2015 *)
approved
editing