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!)
A363629 Expansion of Sum_{k>0} (1/(1+x^k)^2 - 1). 3
-2, 1, -6, 6, -8, 4, -10, 15, -16, 6, -14, 22, -16, 8, -28, 32, -20, 13, -22, 32, -36, 12, -26, 56, -34, 14, -44, 42, -32, 24, -34, 65, -52, 18, -52, 68, -40, 20, -60, 82, -44, 32, -46, 62, -84, 24, -50, 122, -60, 31, -76, 72, -56, 40, -76, 108, -84, 30, -62, 124, -64, 32, -110, 130, -88, 48, -70, 92 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
LINKS
FORMULA
G.f.: Sum_{k>0} (k+1) * (-x)^k/(1 - x^k).
a(n) = Sum_{d|n} (-1)^d * (d+1) = -(A002129(n) + A048272(n)).
MATHEMATICA
a[n_] := DivisorSum[n, (-1)^#*(# + 1) &]; Array[a, 100] (* Amiram Eldar, Jul 18 2023 *)
PROG
(PARI) a(n) = sumdiv(n, d, (-1)^d*(d+1));
CROSSREFS
Sequence in context: A328349 A117965 A111646 * A342965 A371598 A117753
KEYWORD
sign,easy
AUTHOR
Seiichi Manyama, Jun 12 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 June 26 03:22 EDT 2024. Contains 373715 sequences. (Running on oeis4.)