According to Fermat's Little Theorem, for all integer $a$, if $p$ is a prime, then $$a^p \equiv a \pmod p$$ In other words, there exists a non-zero integer $k$ such that $$a^p-a=pk$$ Is there a method to determine $k$? I have seen many proofs using the multinomial expansion and/or recurrent analysis but none explicitly mentioned what $k$ is? Any Hints?
EXPLANATION:let me be clearer, let's say, for any 2 integers $a,b$, if $p$ is odd, then $$(a+b)^p\equiv {a^p+b^p}\pmod p$$ In other words, there exists $k \in \mathbb {Z} \neq 0$ such that $$(a+b)^p=a^p+b^p+kp$$ In this case using the binomial expansion, it is easy to see that $$k=\dfrac{\sum_{k=1}^{p-1}{ n\choose k}a^{p-k}b^k}{p}$$ I was wondering if there is a similar expression of $k$ in the Fermat's Little Theorem.