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!)
A344430 a(n) = Sum_{k=1..n} mu(k) * k^k. 4
1, -3, -30, -30, -3155, 43501, -780042, -780042, -780042, 9999219958, -275312450653, -275312450653, -303150419042906, 10808856406515110, 448702746787374485, 448702746787374485, -826791559139549389692, -826791559139549389692 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,2
LINKS
MATHEMATICA
a[n_] := Sum[MoebiusMu[k] * k^k, {k, 1, n}]; Array[a, 20] (* Amiram Eldar, May 19 2021 *)
Accumulate[Table[MoebiusMu[n]n^n, {n, 20}]] (* Harvey P. Dale, Jan 25 2022 *)
PROG
(PARI) a(n) = sum(k=1, n, moebius(k)*k^k);
(Python)
from sympy import mobius
def A344430(n): return sum(mobius(k)*k**k for k in range(1, n+1)) # Chai Wah Wu, Apr 05 2023
CROSSREFS
Sequence in context: A118219 A186681 A295430 * A217395 A077679 A045863
KEYWORD
sign
AUTHOR
Seiichi Manyama, May 19 2021
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 15 13:23 EDT 2024. Contains 372540 sequences. (Running on oeis4.)