The OEIS mourns the passing of Jim Simons and is grateful to the Simons Foundation for its support of research in many branches of science, including the OEIS.
login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A329158 Let P1>=3, P2, P3 be consecutive primes, with P3-P2=2. a(n)=(P2+P3)/12 when P2-P1 sets a record. 8

%I #7 Nov 08 2019 18:17:55

%S 1,2,5,25,87,192,500,1158,1668,4217,4713,5955,17127,28905,61838,76967,

%T 96147,139725,260342,1061923,1205080,4663498,8871842,11732765,

%U 32534740,42313103,77638122,92523718,282054523,728833340,2940948542,3344803093,11810906035

%N Let P1>=3, P2, P3 be consecutive primes, with P3-P2=2. a(n)=(P2+P3)/12 when P2-P1 sets a record.

%C 6*a(n)-1, 6*a(n)+1 are twin primes such that the prime gap immediately preceding 6*a(n)-1 sets a record. The corresponding gap lengths are provided in A329159.

%o (PARI) p1=3;p2=5;r=0;forprime(p3=7,1e9,if(p3-p2==2,d=p2-p1;if(d>r,r=d;print1((p2+p3)/12,", ")));p1=p2;p2=p3)

%Y Cf. A002822, A084105, A329159, A329160, A329161, A329164, A329165.

%K nonn

%O 1,2

%A _Hugo Pfoertner_, Nov 06 2019

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.

License Agreements, Terms of Use, Privacy Policy. .

Last modified May 20 10:58 EDT 2024. Contains 372712 sequences. (Running on oeis4.)