DirichletTransform
DirichletTransform[expr, n, s] gives the Dirichlet transform of expr with respect to n.
Examples
Transform of a constant:
DirichletTransform[1, n, s]
(* Zeta[s] *)Transform of n^k:
DirichletTransform[n^2, n, s]
(* Zeta[s - 2] *)Please visit the official Wolfram Language Reference for more details.