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!)
A333697 a(n) = Sum_{d|n} (-1)^omega(n/d) * phi(rad(n/d)) * p(d), where p = A000041 (partition numbers). 0
1, 1, 1, 2, 3, 6, 9, 14, 22, 31, 46, 59, 89, 114, 158, 201, 281, 337, 472, 570, 756, 936, 1233, 1456, 1926, 2323, 2942, 3556, 4537, 5334, 6812, 8088, 10021, 11997, 14805, 17432, 21601, 25507, 30971, 36606, 44543, 52106, 63219, 74097, 88680, 104281, 124708, 145205, 173429, 202124 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,4
LINKS
FORMULA
a(n) = Sum_{d|n} A023900(n/d) * A000041(d).
a(n) = Sum_{d|n} A047968(n/d) * mu(d) * d.
Sum_{k=1..n} a(gcd(n,k)) = A000041(n).
MATHEMATICA
Table[Sum[(-1)^PrimeNu[n/d] EulerPhi[Last[Select[Divisors[n/d], SquareFreeQ]]] PartitionsP[d], {d, Divisors[n]}], {n, 50}]
PROG
(PARI) rad(n) = factorback(factorint(n)[, 1]); \\ A007947
a(n) = sumdiv(n, d, (-1)^omega(n/d) * eulerphi(rad(n/d)) * numbpart(d)); \\ Michel Marcus, Apr 03 2020
CROSSREFS
Sequence in context: A173303 A308251 A058609 * A128518 A022567 A134004
KEYWORD
nonn
AUTHOR
Ilya Gutkovskiy, Apr 02 2020
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 11:36 EDT 2024. Contains 372540 sequences. (Running on oeis4.)