login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A338656
a(n) = Sum_{d|n} mu(d) * binomial(d + n/d - 2, d-1).
2
1, 0, 0, -1, 0, -4, 0, -3, -5, -8, 0, -9, 0, -12, -28, -7, 0, -8, 0, -34, -54, -20, 0, 9, -69, -24, -44, -83, 0, 0, 0, -15, -130, -32, -418, 157, 0, -36, -180, -129, 0, 0, 0, -285, -494, -44, 0, 633, -923, -24, -304, -454, 0, 1090, -2000, -1183, -378, -56, 0, 3050, 0, -60, -3002, -31, -3638, 0
OFFSET
1,6
LINKS
FORMULA
G.f.: Sum_{k >= 1} mu(k) * (x/(1 - x^k))^k.
If p is prime, a(p) = 0.
MATHEMATICA
a[n_] := DivisorSum[n, MoebiusMu[#] * Binomial[# + n/# - 2, # - 1] &]; Array[a, 100] (* Amiram Eldar, Apr 22 2021 *)
PROG
(PARI) a(n) = sumdiv(n, d, moebius(d)*binomial(d+n/d-2, d-1));
(PARI) my(N=66, x='x+O('x^N)); Vec(sum(k=1, N, moebius(k)*(x/(1-x^k))^k))
CROSSREFS
KEYWORD
sign,look
AUTHOR
Seiichi Manyama, Apr 22 2021
STATUS
approved