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.

A079551 a(n) = Sum_{primes p <= n} d(p-1), where d() = A000005.

Original entry on oeis.org

0, 0, 1, 3, 3, 6, 6, 10, 10, 10, 10, 14, 14, 20, 20, 20, 20, 25, 25, 31, 31, 31, 31, 35, 35, 35, 35, 35, 35, 41, 41, 49, 49, 49, 49, 49, 49, 58, 58, 58, 58, 66, 66, 74, 74, 74, 74, 78, 78, 78, 78, 78, 78, 84, 84, 84, 84, 84, 84, 88, 88, 100, 100, 100, 100, 100, 100, 108, 108, 108, 108
Offset: 0

Views

Author

N. J. A. Sloane, Jan 24 2003

Keywords

References

  • Yuri V. Linnik, The dispersion method in binary additive problems, American Mathematical Society, 1963, chapter VIII.
  • József Sándor, Dragoslav S. Mitrinovic, and Borislav Crstici, Handbook of Number Theory I, Springer, 2006, section II.11, p. 49.

Crossrefs

Row sums of triangle A143540. - Gary W. Adamson, Aug 23 2008

Programs

  • Mathematica
    a[n_] := Sum[DivisorSigma[0, p-1], {p, Select[Range[n], PrimeQ]}]; Table[a[n], {n, 0, 100}] (* Jean-François Alcover, Nov 26 2015 *)
  • PARI
    a(n) = sum(p=1, n, if (isprime(p), numdiv(p-1))); \\ Michel Marcus, Aug 03 2018

Formula

Several asymptotic estimates are known: see Sándor et al.
a(n) ~ (zeta(2)*zeta(3)/zeta(6)) * n. - Amiram Eldar, Jul 22 2019