I proved that $\binom{mp^n}{p^n}\cong m$ (mod $p$) for every prime number $p$ and positive integer $m$. But in my book $m$ is assumed to be coprime to $p$, while my proof did not make use of that assumption. Is the identity without that assumption really correct?
Proof sketch: We first expand $(1+x)^{mp^n}$ in the field $\mathbb F_p$ using the binomial theorem. Then we expand it in another way: since $(a+b)^p=a^p+b^p$ in $\mathbb F_p$, we have $(1+x)^{mp^n}=(1+x^{p^n})^m$. Now equating the coefficients of $x^{p^n}$, we get the result.