login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A304906 L.g.f.: log(Product_{k>=1} (1 + x^(k^3))) = Sum_{n>=1} a(n)*x^n/n. 2
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, 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, 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 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,8
LINKS
FORMULA
G.f.: Sum_{k>=1} k^3*x^(k^3)/(1 + x^(k^3)).
a(n) = Sum_{d|n} (-1)^(n/d+1)*A010057(d)*d.
a(n) = 1 if n is an odd cubefree.
a(n) = -1 if n is an even cubefree.
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
EXAMPLE
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 + ...
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 + ...
MATHEMATICA
nmax = 82; Rest[CoefficientList[Series[Log[Product[1 + x^k^3, {k, 1, nmax}]], {x, 0, nmax}], x] Range[0, nmax]]
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]]
Table[DivisorSum[n, (-1)^(n/# + 1) # &, IntegerQ[#^(1/3)] &], {n, 82}]
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 *)
PROG
(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
(PARI) a(n)={sumdiv(n, d, if(n%d^3, 0, (-1)^(n/d^3 + 1) * d^3))} \\ Andrew Howroyd, Jul 20 2018
CROSSREFS
Sequence in context: A354487 A336699 A239700 * A055061 A074465 A081229
KEYWORD
sign,easy,mult
AUTHOR
Ilya Gutkovskiy, May 20 2018
EXTENSIONS
Keyword:mult added by Andrew Howroyd, Jul 20 2018
STATUS
approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified May 8 08:09 EDT 2024. Contains 372319 sequences. (Running on oeis4.)