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!)
A344033 a(n) = n * Sum_{d|n} d^mu(n/d). 0
1, 6, 12, 22, 30, 47, 56, 82, 93, 117, 132, 197, 182, 219, 248, 306, 306, 419, 380, 487, 472, 519, 552, 773, 655, 717, 786, 905, 870, 1240, 992, 1154, 1136, 1209, 1272, 1697, 1406, 1503, 1576, 1927, 1722, 2322, 1892, 2125, 2258, 2187, 2256, 2981, 2457, 2857, 2672, 2927 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,2
COMMENTS
If p is prime, a(p) = p * Sum_{d|p} d^mu(p/d) = p * (1 + p^1) = p * (p + 1).
LINKS
EXAMPLE
a(4) = 4 * Sum_{d|4} d^mu(4/d) = 4 * (1^0 + 2^(-1) + 4^1) = 22.
MATHEMATICA
Table[n*Sum[i^MoebiusMu[n/i] (1 - Ceiling[n/i] + Floor[n/i]), {i, n}], {n, 80}]
PROG
(PARI) a(n) = n*sumdiv(n, d, d^moebius(n/d)); \\ Michel Marcus, May 25 2021
CROSSREFS
Cf. A008683 (mu).
Sequence in context: A055458 A360570 A178733 * A266085 A144568 A222001
KEYWORD
nonn
AUTHOR
Wesley Ivan Hurt, May 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 April 25 09:38 EDT 2024. Contains 371967 sequences. (Running on oeis4.)