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.

A109722 Sum of first 2n primes.

Original entry on oeis.org

0, 5, 17, 41, 77, 129, 197, 281, 381, 501, 639, 791, 963, 1161, 1371, 1593, 1851, 2127, 2427, 2747, 3087, 3447, 3831, 4227, 4661, 5117, 5589, 6081, 6601, 7141, 7699, 8275, 8893, 9523, 10191, 10887, 11599, 12339, 13101, 13887, 14697, 15537, 16401, 17283
Offset: 0

Views

Author

Giovanni Teofilatto, Aug 10 2005

Keywords

Comments

Bisection of A007504.

Crossrefs

Programs

  • Mathematica
    f[n_] := Sum[Prime[k], {k, n}]; Table[f[2n], {n, 0, 43}]
    Join[{0},With[{nn=100},Take[Accumulate[Prime[Range[nn]]],{2,nn,2}]]] (* Harvey P. Dale, Dec 20 2021 *)

Formula

a(n) = A007504(2n).

Extensions

Edited and extended by Ray Chandler, Aug 11 2005