OFFSET
1,4
COMMENTS
Möbius transform of A348507.
LINKS
Antti Karttunen, Table of n, a(n) for n = 1..16384
FORMULA
MATHEMATICA
f1[p_, e_] := p*(p + 1)^(e - 1); f2[p_, e_] := (p - 1)*p^(e - 1); a[1] = 0; a[n_] := Times @@ f1 @@@ (f = FactorInteger[n]) - Times @@ f2 @@@ f; Array[a, 100] (* Amiram Eldar, Nov 05 2021 *)
PROG
CROSSREFS
KEYWORD
AUTHOR
Antti Karttunen, Nov 05 2021
STATUS
approved