MHB Prove Polynomial Congruence $(x+y)^n \equiv x^n + y^n$ (mod $p$)

  • Thread starter Thread starter lfdahl
  • Start date Start date
  • Tags Tags
    Polynomial
lfdahl
Gold Member
MHB
Messages
747
Reaction score
0
Given a prime number $p$, prove that the polynomial congruence
$(x + y)^n \equiv x^n + y^n$ (mod $p$) is true if and only if $n$ is a power of $p$.
 
Mathematics news on Phys.org
Hint:

Define the polynomial: $$P(x,y) = (x+y)^n-x^n-y^n = \sum_{k=1}^{n-1}{ n\choose k }x^ky^{n-k}$$

Consider the two cases:

(i). $n = p^a$

(ii). $n$ is not a power of $p$.
 
Suggested solution:

Let \[P(x,y) = (x+y)^n-x^n-y^n = \sum_{k=1}^{n-1}\binom{n}{k}x^{k}y^{n-k}.\]

(a). If $n = p^a$, then all the coefficients of $P$ are divisible by $p$.
Proof: For $1 \leq j \leq p^a-1$, $\binom{p^a}{j}=\frac{p^a}{j}\binom{p^a-1}{j-1}.$
If $j = rp^b$, where $gcd(r,p)=1$, then $\frac{p^a}{j}=\frac{p^{a-b}}{r}$, where $a-b \geq 1$ (since $j < p^a$). Thus $r$ must divide $\binom{p^a-1}{j-1}$ (since $\binom{p^a}{j}$ is an integer), and $\binom{p^a}{j}$ is divisible by $p^{a-b}$.

(b). If $n$ is not a power of $p$, then not all $\binom{n}{j}$ are divisible by $p$.
Proof: For $p^a < n < p^{a+1}$, let $c = n – p^a$ so $0 < c < p^a(p-1)$. Then $\binom{n}{c} = \binom{p^a+c}{c} = \prod_{j=1}^{c}\frac{p^a+j}{j}$. If $j = rp^b$, where $gcd(r,p) = 1$ and $b<a$, then $\frac{p^a+j}{j} = \frac{p^{a-b}+r}{r}$. From this $\binom{n}{c}$ equals a product of fractions none of whose numerators is a multiple of $p$.
 
Seemingly by some mathematical coincidence, a hexagon of sides 2,2,7,7, 11, and 11 can be inscribed in a circle of radius 7. The other day I saw a math problem on line, which they said came from a Polish Olympiad, where you compute the length x of the 3rd side which is the same as the radius, so that the sides of length 2,x, and 11 are inscribed on the arc of a semi-circle. The law of cosines applied twice gives the answer for x of exactly 7, but the arithmetic is so complex that the...
Is it possible to arrange six pencils such that each one touches the other five? If so, how? This is an adaption of a Martin Gardner puzzle only I changed it from cigarettes to pencils and left out the clues because PF folks don’t need clues. From the book “My Best Mathematical and Logic Puzzles”. Dover, 1994.
Back
Top