|
|
A359954
|
|
a(n) = Sum_{d|n} tau(d)*phi(d)*mu(n/d).
|
|
2
|
|
|
1, 1, 3, 4, 7, 3, 11, 10, 14, 7, 19, 12, 23, 11, 21, 24, 31, 14, 35, 28, 33, 19, 43, 30, 52, 23, 54, 44, 55, 21, 59, 56, 57, 31, 77, 56, 71, 35, 69, 70, 79, 33, 83, 76, 98, 43, 91, 72, 114, 52, 93, 92, 103, 54, 133, 110, 105, 55, 115, 84, 119, 59, 154, 128, 161, 57, 131
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
1,3
|
|
COMMENTS
|
Möbius transform of tau(n)*phi(n) (A062355).
|
|
LINKS
|
|
|
FORMULA
|
Multiplicative with a(p) = 2*p - 3 and a(p^e) = (e*p + p - e)*(p - 1)*p^(e - 2) for e > 1. - Amiram Eldar, May 16 2023
|
|
MATHEMATICA
|
f[p_, e_] := If[e == 1, 2*p - 3, (e*p + p - e)*(p - 1)*p^(e - 2)]; a[1] = 1; a[n_] := Times @@ f @@@ FactorInteger[n]; Array[a, 100] (* Amiram Eldar, May 16 2023 *)
|
|
PROG
|
(PARI) a(n) = sumdiv(n, d, numdiv(d)*eulerphi(d)*moebius(n/d)); \\ Michel Marcus, May 13 2023
|
|
CROSSREFS
|
|
|
KEYWORD
|
nonn,easy,mult
|
|
AUTHOR
|
|
|
STATUS
|
approved
|
|
|
|