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.

Showing 1-2 of 2 results.

A375097 a(n) = prime(n+2) - (prime(n) + prime(n+1))/2.

Original entry on oeis.org

3, 5, 4, 5, 4, 5, 8, 5, 7, 7, 4, 5, 8, 9, 5, 7, 7, 4, 7, 7, 8, 11, 8, 4, 5, 4, 5, 16, 11, 8, 5, 11, 7, 7, 9, 7, 8, 9, 5, 11, 7, 5, 4, 13, 18, 10, 4, 5, 8, 5, 11, 11, 9, 9, 5, 7, 7, 4, 11, 19, 11, 4, 5, 16, 13, 13, 7, 5, 8, 11, 10, 9, 7, 8, 11, 8, 10, 14, 7, 11
Offset: 2

Views

Author

Hugo Pfoertner, Jul 30 2024

Keywords

Crossrefs

Programs

  • Mathematica
    Array[#3 - (#1 + #2)/2 & @@ Prime[{#, # + 1, # + 2}] &, 80, 2] (* Michael De Vlieger, Jul 30 2024 *)
  • PARI
    a(n) = prime(n+2) - (prime(n) + prime(n+1))/2

A375095 Primes p such that the difference between the average of the next 2 primes after p and p sets a new record.

Original entry on oeis.org

2, 3, 5, 7, 19, 31, 47, 83, 109, 113, 199, 523, 887, 1129, 1327, 5591, 9551, 15683, 19609, 31397, 155921, 188029, 338033, 360653, 370261, 492113, 1349533, 1357201, 1671781, 2010733, 4652353, 15203977, 17051707, 20831323, 47326693, 90438133, 164710681, 189695659
Offset: 1

Views

Author

Hugo Pfoertner, Jul 30 2024

Keywords

Crossrefs

Showing 1-2 of 2 results.