\[J_{k}\left(n\right)=n^{k}\prod_{p\mathbin{|}n}(1-p^{-k}),\]