DirichletConvolve
DirichletConvolve[f, g, n, m] gives the Dirichlet convolution of expressions f and g.
Examples
Convolve arithmetic functions:
DirichletConvolve[1, MoebiusMu[n], n, m]
(* DiscreteDelta[m - 1] *)Identity convolution:
DirichletConvolve[f[n], DiscreteDelta[n - 1], n, m]
(* f[m] *)Please visit the official Wolfram Language Reference for more details.