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.

A379362 Denominators of the partial alternating sums of the reciprocals of the number of abelian groups function (A000688).

Original entry on oeis.org

1, 1, 1, 2, 2, 2, 2, 6, 3, 3, 3, 6, 6, 6, 6, 30, 30, 15, 15, 30, 30, 30, 30, 30, 15, 15, 15, 30, 30, 30, 30, 210, 210, 210, 210, 420, 420, 420, 420, 420, 420, 420, 420, 420, 420, 420, 420, 420, 420, 420, 420, 420, 420, 140, 140, 420, 420, 420, 420, 420, 420, 420
Offset: 1

Views

Author

Amiram Eldar, Dec 21 2024

Keywords

Crossrefs

Cf. A000688, A063966, A370897, A379360, A379361 (numerators).

Programs

  • Mathematica
    Denominator[Accumulate[Table[(-1)^(n+1)/FiniteAbelianGroupCount[n], {n, 1, 100}]]]
  • PARI
    f(n) = vecprod(apply(numbpart, factor(n)[, 2]));
    list(nmax) = {my(s = 0); for(k = 1, nmax, s += (-1)^(k+1) / f(k); print1(denominator(s), ", "))};

Formula

a(n) = denominator(Sum_{k=1..n} (-1)^(k+1)/A000688(k)).