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.

A373699 a(n) is the area of the (n+1)-gon having vertices coordinates (2,0), (2,prime(2)), ..., (n,prime(n)), (n,0).

Original entry on oeis.org

4, 10, 19, 31, 46, 64, 85, 111, 141, 175, 214, 256, 301, 351, 407, 467, 531, 600, 672, 748, 829, 915, 1008, 1107, 1209, 1314, 1422, 1533, 1653, 1782, 1916, 2054, 2198, 2348, 2502, 2662, 2827, 2997, 3173, 3353, 3539, 3731, 3926, 4124, 4329, 4546, 4771, 4999, 5230
Offset: 3

Views

Author

Paolo Xausa, Jun 17 2024

Keywords

Comments

In other words, area between the polyline (2,prime(2)), (3,prime(3)), ..., (n,prime(n)) and the x axis.

Crossrefs

Cf. A000040.
Partial sums of A024675.

Programs

  • Mathematica
    Accumulate[Most[#] + Differences[#]/2] & [Prime[Range[2, 100]]]

Formula

a(n) = Sum_{k=1..n-2} A024675(k).