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!)
A347251 a(n) = Sum_{d|n} mu(d)*mu(n/d)*d^n. 2
1, -5, -28, 16, -3126, 47450, -823544, 0, 19683, 10009766650, -285311670612, -2176786432, -302875106592254, 11112685048647250, 437893920912786408, 0, -827240261886336764178, -101560344088905, -1978419655660313589123980, -100000000000001048576 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,2

LINKS

Seiichi Manyama, Table of n, a(n) for n = 1..388

FORMULA

If p is prime, a(p) = -1 - p^p.

MATHEMATICA

a[n_] := DivisorSum[n, MoebiusMu[#] * MoebiusMu[n/#] * #^n &]; Array[a, 20] (* Amiram Eldar, Aug 24 2021 *)

PROG

(PARI) a(n) = sumdiv(n, d, moebius(d)*moebius(n/d)*d^n);

CROSSREFS

Diagonal of A347227.

Cf. A007427, A008683, A046099, A067858, A321222.

Sequence in context: A052470 A351749 A016087 * A321236 A351774 A344579

Adjacent sequences:  A347248 A347249 A347250 * A347252 A347253 A347254

KEYWORD

sign

AUTHOR

Seiichi Manyama, Aug 24 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 28 09:09 EDT 2022. Contains 354112 sequences. (Running on oeis4.)