This site is supported by donations to The OEIS Foundation.

 Hints (Greetings from The On-Line Encyclopedia of Integer Sequences!)
 A035791 Start of a string of exactly 3 consecutive (but disjoint) pairs of twin primes. 11

%I

%S 5,179,809,3359,4217,6761,18041,21587,26861,49367,67187,80447,82721,

%T 91127,97841,98897,103967,109829,122597,154157,178037,203321,208931,

%U 225749,227609,236867,243671,251201,266447,285611,289109,295871,317729

%N Start of a string of exactly 3 consecutive (but disjoint) pairs of twin primes.

%D Posting to Number Theory List (NMBRTHRY(AT)LISTSERV.NODAK.EDU), Nov. 19 1998.

%H Sebastian Petzelberger, <a href="/A035791/b035791.txt">Table of n, a(n) for n = 1..10000</a>

%e a(2)=179 because (179,181),(191,193),(197,199) is the second occurrence (after (5,7),(11,13),(17,19)) of exactly 3 pairs of twin primes.

%t Select[Prime@ Range@ 30000, And[ NextPrime[#, -1] - NextPrime[#, -2] != 2, NextPrime@ # - # == 2, NextPrime[#, 3] - NextPrime[#, 2] == 2, NextPrime[#, 5] - NextPrime[#, 4] == 2, NextPrime[#, 7] - NextPrime[#, 6] > 2] &] (* _Michael De Vlieger_, Apr 25 2015 *)

%t Select[Partition[Prime[Range[30000]],10,1],#[[8]]-#[[7]]==#[[6]]-#[[5]] == #[[4]] - #[[3]]==2&&#[[2]]-#[[1]]!=2&&#[[10]]-#[[9]]!=2&][[All,3]] (* _Harvey P. Dale_, Mar 14 2018 *)

%Y Cf. A035789, A035790, A035792, A035793, A035794, A035795, A087641.

%K nonn,easy,changed

%O 1,1

%A Randall Rathbun

%E More terms from _Hugo Pfoertner_, Sep 05 2003

%E Offset corrected by _Arkadiusz Wesolowski_, May 06 2012

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

Last modified March 17 14:13 EDT 2018. Contains 300565 sequences. (Running on oeis4.)