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.

A286711 a(n) is the position of the first occurrence of 2n as a local minimum in the prime gaps (A001223).

Original entry on oeis.org

5, 22, 67, 126, 138, 1253, 1586, 1356, 3524, 2129, 10464, 14174, 19633, 23354, 44754, 52872, 194426, 122046, 209609, 249329, 256005, 493543, 335001, 116305, 895479, 1698315, 1324483, 2783617, 679305, 1015023, 2217824, 3625328, 1595431, 6660573, 13611829, 4061952, 14641489
Offset: 1

Views

Author

Zak Seidov, May 13 2017

Keywords

Examples

			a(1)=5 because A001223(4)=4, A001223(5)=2, A001223(6)=4,
a(2)=22 because A001223(21)=6, A001223(22)=4, A001223(23)=6,
a(50)=112849562 because A001223(112849561)=108, A001223(112849562)=100, A001223(112849563)=120,
		

Crossrefs

Cf. A001223 (differences between consecutive primes), A196175 (positions of local minima in A001223).

Programs

  • Mathematica
    nv=tg=20; T = 0 Range[nv]; n=0; p=q=3; b=c=2; While[tg>0, p = NextPrime[p]; n++; {a, b, c, q} = {b, c, p-q, p}; If[b <= 2 nv && a>bGiovanni Resta, May 13 2017 *)