cp's OEIS Frontend

This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.

A329161 2*a(n) are the lengths of record prime gaps immediately following twin primes.

Original entry on oeis.org

2, 3, 5, 6, 9, 12, 14, 15, 17, 21, 26, 27, 29, 30, 35, 41, 45, 50, 59, 60, 63, 71, 74, 75, 84, 92, 96, 98, 104, 110, 125, 129, 144, 155, 156, 165, 180, 201, 204, 207
Offset: 1

Views

Author

Hugo Pfoertner, Nov 08 2019

Keywords

Comments

The corresponding locations are provided in A329160, starting at the initial pair 5, 7.

Examples

			a(1) = 2 because the prime gap after 5, 7 has length 11 - 7 = 2*a(1) = 4,
a(2) = 3 because the prime gap after 29,31 has length 37 - 31 = 2*a(2) = 6, with location given by 6*A329160(2) = 30 +- 1. The gaps before all have length 4 (11,13 -> 17), (17,19 -> 23).
		

Crossrefs

Programs

  • PARI
    p1=5; p2=7; r=0; forprime(p3=11, 1e9, if(p2-p1==2, d=p3-p2; if(d>r, r=d; print1(d/2, ", "))); p1=p2; p2=p3)

Extensions

a(39)-a(40) from Jinyuan Wang, Mar 01 2020