OFFSET
1,3
LINKS
FORMULA
G.f.: (z/5)[1/(1-z-z^2)^5-1/(1-z^5-z^10)].
MAPLE
with(numtheory): f := z->1/(1-z-z^2): m := proc(r, j) d := divisors(r): W := (1/r)*z*sum(mobius(d[i])*f(z^d[i])^(r/d[i]), i=1..nops(d)): Wser := simplify(series(W, z=0, 80)): coeff(Wser, z^j) end: seq(m(5, j), j=1..40);
MATHEMATICA
f[z_] := 1/(1 - z - z^2);
m[r_] := (z/r)*Sum[MoebiusMu[d]*f[z^d]^(r/d), {d, Divisors[r]}];
CoefficientList[m[5] + O[z]^31, z] // Rest (* Jean-François Alcover, Nov 28 2017, from Maple *)
CROSSREFS
KEYWORD
nonn
AUTHOR
N. J. A. Sloane, Dec 05 2003
EXTENSIONS
Edited by Emeric Deutsch, Mar 06 2004
STATUS
approved