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!)
A362029 a(n) = Sum_{k=1..n} (-1)^(n-k) * k * mu(k)^2, where mu(k) is the Moebius function. 2
1, 1, 2, -2, 7, -1, 8, -8, 8, 2, 9, -9, 22, -8, 23, -23, 40, -40, 59, -59, 80, -58, 81, -81, 81, -55, 55, -55, 84, -54, 85, -85, 118, -84, 119, -119, 156, -118, 157, -157, 198, -156, 199, -199, 199, -153, 200, -200, 200, -200, 251, -251, 304, -304, 359, -359, 416, -358, 417, -417, 478, -416, 416 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,3
LINKS
FORMULA
G.f.: (Sum_{k>=1} mu(k)^2 * k * x^k) / (1 + x).
a(n) = -a(n-1) + |A055615(n)| for n > 1.
PROG
(PARI) a(n) = sum(k=1, n, (-1)^(n-k)*k*moebius(k)^2);
CROSSREFS
Sequence in context: A190256 A013671 A019807 * A324085 A340180 A063706
KEYWORD
sign,easy
AUTHOR
Seiichi Manyama, Apr 05 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 3 21:39 EDT 2024. Contains 372225 sequences. (Running on oeis4.)