answered 9 years ago
This seems to be rather nontrivial though I guess something like one of the many suggestions there could be implemented... at first I thought you mean the Dirichlet inverse but I guess not.