So, taking the quite well known identity: \begin{equation} \nabla\cdot\left(\frac{\mathfrak{\hat r }}{\mathfrak{r}^2}\right)=4\pi\delta^3(\mathfrak{r}) \end{equation} $\mathfrak{r}=||r-r'||$ being the separation vector, which is widely used in physical contexts. The thing is, I see, sometimes, people using it as: \begin{equation} \nabla\cdot\left(\frac{\mathfrak{\hat r }}{\mathfrak{r}^n}\right)=4\pi\delta^3(\mathfrak{r}) \end{equation} Letting $n\in\mathbb{Z}_{\geq2}$. One example is this proof of Gauss's law for Gravity, with $n=3.$ I never saw a detailed demonstration of this relation, though. Could it be simply stated that $n$ is, informally, a "scaling factor" of the vector field, and therefore there's no reason to believe that the divergence will be somewhat different? I'm not quite sure.
That's pretty much it, any response will be appreciated. Tks in advance!