I only have an informal knowledge of mathematical at best, learned entirely from modifying premade programs, and reading the documentation of functions, so I apologize if my question should be obvious or inane. Currently, I'm trying to mess around with Dirichlet powers of arithmetic functions, and to do this I'm using Mathematica. I have the following code, but I keep getting errors about various objects not being able to be used as iterators.
f[1, x_] := MoebiusMu[x];
f[n_, x_] := DirichletConvolve[f[1, d], f[n - 1, d], d, x];
Table[f[i, 2], {i, 0, 5}]
I assume that this is caused by the effectively nested DirichletConvolution
s, as I've run into similar errors in the past, and fixed them by making sure that the iterators had different names for each layer, but I don't think that's a viable solution here. Furthermore, based on the errors, I assume that this runs deeper into the implementation of the DirichletConvolution
function with Sum
. How can I fix this?