The OEIS Foundation is supported by donations from users of the OEIS and by a grant from the Simons Foundation.

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 56th year, we are closing in on 350,000 sequences, and we’ve crossed 9,700 citations (which often say “discovered thanks to the OEIS”).

 Hints (Greetings from The On-Line Encyclopedia of Integer Sequences!)
 A228978 Primes p such that p and p+2, p^2+p-1 and p^2+p+1, and (p^2+p-1)^2+p^2+p-2 and (p^2+p-1)^2+p^2+p are three pairs of twin primes. 0

%I

%S 11767181,35057849,84428051,91460249,105929711,115401719,162790781,

%T 197352401,217761851,235863209,266250839,284597741,370000511,

%U 386278019,554761451,576412271,581549669,592975109,611599661,625806761,626450411,655727771,670280591,680468669,744737111,883687349,1085880641,1119813311,1139369111

%N Primes p such that p and p+2, p^2+p-1 and p^2+p+1, and (p^2+p-1)^2+p^2+p-2 and (p^2+p-1)^2+p^2+p are three pairs of twin primes.

%C Subsequence of A228968.

%t tptpQ[n_]:=Module[{p2=n^2+n},AllTrue[{p2-1,p2+1,(p2-1)^2+p2-2,(p2-1)^2+ p2},PrimeQ]]; Select[Transpose[Select[Partition[ Prime[ Range[ 58*10^6]],2,1], #[[2]]-#[[1]]==2&]][[1]],tptpQ] (* The program uses the AllTrue function from Mathematica version 10 *) (* _Harvey P. Dale_, Nov 10 2014 *)

%Y Cf. A088483, A228968.

%K nonn

%O 1,1

%A _Pierre CAMI_, Sep 10 2013

%E Corrected by _Harvey P. Dale_, Nov 10 2014

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

Last modified December 2 17:59 EST 2021. Contains 349445 sequences. (Running on oeis4.)