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.

Showing 1-1 of 1 results.

A362029 a(n) = Sum_{k=1..n} (-1)^(n-k) * k * mu(k)^2, where mu(k) is the Moebius function.

Original entry on oeis.org

1, 1, 2, -2, 7, -1, 8, -8, 8, 2, 9, -9, 22, -8, 23, -23, 40, -40, 59, -59, 80, -58, 81, -81, 81, -55, 55, -55, 84, -54, 85, -85, 118, -84, 119, -119, 156, -118, 157, -157, 198, -156, 199, -199, 199, -153, 200, -200, 200, -200, 251, -251, 304, -304, 359, -359, 416, -358, 417, -417, 478, -416, 416
Offset: 1

Views

Author

Seiichi Manyama, Apr 05 2023

Keywords

Crossrefs

Programs

  • PARI
    a(n) = sum(k=1, n, (-1)^(n-k)*k*moebius(k)^2);

Formula

G.f.: (Sum_{k>=1} mu(k)^2 * k * x^k) / (1 + x).
a(n) = -a(n-1) + |A055615(n)| for n > 1.
Showing 1-1 of 1 results.