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!)
A362021 a(n) = Sum_{k=1..n} (-1)^(n-k) * k * mu(k), where mu(k) is the Moebius function. 2
1, -3, 0, 0, -5, 11, -18, 18, -18, 28, -39, 39, -52, 66, -51, 51, -68, 68, -87, 87, -66, 88, -111, 111, -111, 137, -137, 137, -166, 136, -167, 167, -134, 168, -133, 133, -170, 208, -169, 169, -210, 168, -211, 211, -211, 257, -304, 304, -304, 304, -253, 253, -306, 306, -251, 251, -194, 252, -311 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,2
LINKS
FORMULA
G.f.: (Sum_{k>=1} k * mu(k) * x^k) / (1 + x).
G.f. A(x) satisfies x = Sum_{k>=1} k * (1 + x^k) * A(x^k).
a(n) = -a(n-1) + A055615(n) for n > 1.
PROG
(PARI) a(n) = sum(k=1, n, (-1)^(n-k)*k*moebius(k));
CROSSREFS
Sequence in context: A317465 A051174 A273089 * A330735 A127773 A194498
KEYWORD
sign,easy,look
AUTHOR
Seiichi Manyama, Apr 04 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 August 12 10:46 EDT 2024. Contains 375092 sequences. (Running on oeis4.)