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.

A109726 Divide primes in groups with 2n elements and add together.

Original entry on oeis.org

0, 5, 36, 156, 442, 954, 1854, 3154, 4998, 7514, 10784, 14786, 19932, 26148, 33448, 42340, 52208, 64322, 77898, 93116, 110224, 129978, 151990, 175224, 201584, 231272, 263500, 298590, 335856, 376616, 420984, 469894, 521740, 577304, 634990
Offset: 0

Views

Author

Giovanni Teofilatto, Aug 10 2005

Keywords

Comments

First difference of A322420.

Crossrefs

Programs

  • Mathematica
    f[n_] := Sum[Prime[k], {k, n}]; Table[f[n*(n + 1)] - f[n*(n - 1)], {n, 0, 34}]

Formula

a(n) = A007504(n*(n+1)) - A007504(n*(n-1)).

Extensions

Edited and extended by Ray Chandler, Aug 11 2005