The OEIS mourns the passing of Jim Simons and is grateful to the Simons Foundation for its support of research in many branches of science, including the OEIS.
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!)
A364015 Expansion of Sum_{k>0} k * x^(2*k) / (1 + x^(3*k)). 5
0, 1, 0, 2, -1, 3, 0, 5, 0, 3, -1, 6, 0, 8, -3, 10, -1, 9, 0, 7, 0, 9, -1, 15, -5, 14, 0, 16, -1, 9, 0, 21, -3, 15, -8, 18, 0, 20, 0, 19, -1, 24, 0, 19, -9, 21, -1, 30, 0, 16, -3, 28, -1, 27, -16, 40, 0, 27, -1, 21, 0, 32, 0, 42, -14, 27, 0, 31, -3, 24, -1, 45, 0, 38, -15, 40, -8, 42, 0 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,4
LINKS
FORMULA
G.f.: Sum_{k>0} (-1)^(k-1) * x^(3*k-1) / (1 - x^(3*k-1))^2.
a(n) = Sum_{d|n, n/d==2 (mod 3)} (-1)^(n/d) * d.
MATHEMATICA
a[n_] := DivisorSum[n, (-1)^(n/#) * # &, Mod[n/#, 3] == 2 &]; Array[a, 100] (* Amiram Eldar, Jul 01 2023 *)
PROG
(PARI) a(n) = sumdiv(n, d, (n/d%3==2)*(-1)^(n/d)*d);
CROSSREFS
Sequence in context: A231347 A180988 A127474 * A363158 A363259 A326400
KEYWORD
sign
AUTHOR
Seiichi Manyama, Jul 01 2023
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 20 03:01 EDT 2024. Contains 372703 sequences. (Running on oeis4.)