OFFSET
1,1
MATHEMATICA
lst={}; Do[p=n^32+1; q=(n+2)^32+1; If[PrimeQ[p] && PrimeQ[q], AppendTo[lst, n]], {n, 0, 150000}]; lst
Select[Range[150000], AllTrue[{#^32+1, (#+2)^32+1}, PrimeQ]&] (* The program uses the AllTrue function from Mathematica version 10 *) (* Harvey P. Dale, Aug 07 2016 *)
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Michel Lagneau, Oct 17 2012
STATUS
approved