What is the best method to prove that if $n$ is prime and $a,b$ are integers $a^n+b^n \equiv (a+b)^n \mod n$, ?
2026-04-07 03:09:50.1775531390
Prove that $a^n+b^n \equiv (a+b)^n \mod n$, if $n$ is prime and $a,b$ are integers.
231 Views Asked by Bumbble Comm https://math.techqa.club/user/bumbble-comm/detail At
2
Hint: The binomial theorem states that $$ (a+b)^n=\sum_{k=0}^n\binom{n}{k}a^kb^{n-k} $$ where $$ \binom{n}{k}=\frac{n!}{k!(n-k)!} $$ Can you prove that $n$ divides $\binom{n}{k}$ for $1\leq k\leq n-1$? This is where $n$ being prime is needed.