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!)
A321222 a(n) = Sum_{d|n} mu(d)*d^n. 7
1, -3, -26, -15, -3124, 45864, -823542, -255, -19682, 9990233352, -285311670610, 2176246800, -302875106592252, 11111328602468784, 437893859848932344, -65535, -827240261886336764176, 101559568985784, -1978419655660313589123978, 99999904632567310800 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,2
LINKS
FORMULA
G.f.: Sum_{k>=1} mu(k)*(k*x)^k/(1 - (k*x)^k).
a(n) = Product_{p|n, p prime} (1 - p^n).
MATHEMATICA
Table[Sum[MoebiusMu[d] d^n, {d, Divisors[n]}], {n, 20}]
nmax = 20; Rest[CoefficientList[Series[Sum[MoebiusMu[k] (k x)^k/(1 - (k x)^k), {k, 1, nmax}], {x, 0, nmax}], x]]
Table[Product[1 - Boole[PrimeQ[d]] d^n, {d, Divisors[n]}], {n, 20}]
PROG
(PARI) a(n) = sumdiv(n, d, moebius(d)*d^n) \\ Andrew Howroyd, Nov 06 2018
CROSSREFS
Sequence in context: A307653 A326610 A221616 * A062181 A058993 A358352
KEYWORD
sign
AUTHOR
Ilya Gutkovskiy, Nov 06 2018
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 24 18:17 EDT 2024. Contains 371962 sequences. (Running on oeis4.)