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.

A338657 a(n) = Sum_{d|n} mu(d) * binomial(d+n/d-1, d).

Original entry on oeis.org

1, 1, 2, 1, 4, -3, 6, -2, -1, -10, 10, -22, 12, -21, -40, -20, 16, -55, 18, -80, -98, -55, 22, -90, -101, -78, -138, -182, 28, -271, 30, -104, -330, -136, -756, -37, 36, -171, -520, -676, 40, -476, 42, -550, -1786, -253, 46, 648, -1667, -1276, -1088, -832, 52, 1539, -4312
Offset: 1

Views

Author

Seiichi Manyama, Apr 22 2021

Keywords

Crossrefs

Programs

  • Mathematica
    a[n_] := DivisorSum[n, MoebiusMu[#] * Binomial[# + n/# - 1, #] &]; Array[a, 100] (* Amiram Eldar, Apr 22 2021 *)
  • PARI
    a(n) = sumdiv(n, d, moebius(d)*binomial(d+n/d-1, d));
    
  • PARI
    my(N=66, x='x+O('x^N)); Vec(sum(k=1, N, moebius(k)*x^k/(1-x^k)^(k+1)))

Formula

G.f.: Sum_{k >= 1} mu(k) * x^k/(1 - x^k)^(k+1).
If p is prime, a(p) = p - 1.
Showing 1-1 of 1 results.