The OEIS is supported by the many generous donors to the OEIS Foundation.

 Hints (Greetings from The On-Line Encyclopedia of Integer Sequences!)
 A217992 Numbers n such that n^32+1 and (n+2)^32+1 are both prime. 0

%I

%S 112,428,430,1960,3042,3496,5062,10038,12294,15828,23208,24116,24632,

%T 26892,33368,35960,43960,44140,53382,58402,59610,72214,87628,88036,

%U 90474,90846,92678,92688,96510,97766,97768,105082,120116,128756,131154,131882,142682

%N Numbers n such that n^32+1 and (n+2)^32+1 are both prime.

%t lst={}; Do[p=n^32+1; q=(n+2)^32+1;If[PrimeQ[p] && PrimeQ[q], AppendTo[lst, n]], {n, 0, 150000}];lst

%t 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 *)

%Y Cf. A006315.

%K nonn,easy

%O 1,1

%A _Michel Lagneau_, Oct 17 2012

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

Last modified March 20 21:07 EDT 2023. Contains 361391 sequences. (Running on oeis4.)