proof of Lucas’s theorem by binomial expansion
We work with polynomials in over the integers modulo .
Bythe binomial theorem we have . Moregenerally, by induction
on we have .
Hence the following holds:
Then the coefficient on on the left hand side is .
As is uniquely base , the coefficient on on the right hand side is .
Equating the coefficients on on either therefore yieldsthe result.