%I #14 Oct 03 2023 13:14:13
%S 1,-1,1,-1,1,-1,1,7,1,-1,1,-1,1,-1,1,-9,1,-1,1,-1,1,-1,1,7,1,-1,28,-1,
%T 1,-1,1,-9,1,-1,1,-1,1,-1,1,7,1,-1,1,-1,1,-1,1,-9,1,-1,1,-1,1,-28,1,7,
%U 1,-1,1,-1,1,-1,1,55,1,-1,1,-1,1,-1,1,7,1,-1,1,-1,1,-1,1,-9,28,-1
%N L.g.f.: log(Product_{k>=1} (1 + x^(k^3))) = Sum_{n>=1} a(n)*x^n/n.
%H Andrew Howroyd, <a href="/A304906/b304906.txt">Table of n, a(n) for n = 1..1000</a>
%H <a href="/index/Su#sums_of_divisors">Index entries for sequences related to sums of divisors</a>.
%F G.f.: Sum_{k>=1} k^3*x^(k^3)/(1 + x^(k^3)).
%F a(n) = Sum_{d|n} (-1)^(n/d+1)*A010057(d)*d.
%F a(n) = 1 if n is an odd cubefree.
%F a(n) = -1 if n is an even cubefree.
%F Multiplicative with a(p^e) = (-1)^(p+1) * (p^(3*floor((e+3)/3))-1)/(p^3-1) + if(p = 2 and e == 0 (mod 3), 2^(e + 1) otherwise 0). - _Amiram Eldar_, Oct 03 2023
%e L.g.f.: L(x) = x - x^2/2 + x^3/3 - x^4/4 + x^5/5 - x^6/6 + x^7/7 + 7*x^8/8 + x^9/9 - x^10/10 + x^11/11 - x^12/12 + ...
%e exp(L(x)) = 1 + x + x^8 + x^9 + x^27 + x^28 + x^35 + x^36 + x^64 + x^65 + x^72 + x^73 + ... + A279329(n)*x^n + ...
%t nmax = 82; Rest[CoefficientList[Series[Log[Product[1 + x^k^3, {k, 1, nmax}]], {x, 0, nmax}], x] Range[0, nmax]]
%t nmax = 82; Rest[CoefficientList[Series[Sum[k^3 x^k^3/(1 + x^k^3), {k, 1, Floor[nmax^(1/3) + 1]}], {x, 0, nmax}], x]]
%t Table[DivisorSum[n, (-1)^(n/# + 1) # &, IntegerQ[#^(1/3)] &], {n, 82}]
%t f[p_, e_] := (-1)^(p+1) * (p^(3*Floor[(e+3)/3])-1)/(p^3-1) + If[p == 2 && Divisible[e, 3], 2^(e + 1), 0]; a[1] = 1; a[n_] := Times @@ f @@@ FactorInteger[n]; Array[a, 100] (* _Amiram Eldar_, Oct 03 2023 *)
%o (PARI) seq(n)={Vec(deriv(log(prod(k=1, sqrtnint(n, 3), 1 + x^(k^3) + O(x*x^n)))))} \\ _Andrew Howroyd_, Jul 20 2018
%o (PARI) a(n)={sumdiv(n, d, if(n%d^3, 0, (-1)^(n/d^3 + 1) * d^3))} \\ _Andrew Howroyd_, Jul 20 2018
%Y Cf. A000578, A010057, A004709, A113061, A279329, A300853.
%K sign,easy,mult
%O 1,8
%A _Ilya Gutkovskiy_, May 20 2018
%E Keyword:mult added by _Andrew Howroyd_, Jul 20 2018
|