Lucas' Theorem
From AoPSWiki
Lucas' Theorem states that for any prime
and any positive integers
, if
is the representation of
in base
and
is the representation of
in base
(possibly with some leading
s) then
.
Contents |
Lemma

Proof


Proof
Consider
. If
is the base
representation of
, then
for all
and
. We then have
![\begin{eqnarray*}(1+x)^n&=&(1+x)^{n_mp^m+n_{m-1}p^{m-1}+\cdots+n_1p+n_0}\\&=&[(1+x)^{p^m}]^{n_m}[(1+x)^{p^{m-...](http://alt2.artofproblemsolving.com/Forum/latexrender/pictures/9/8/d/98d1cf931ca1feecb495b9c37bf43278dd9daa3b.gif)
We want the coefficient of
in
. Since
, we want the coefficient of
.
The coefficient of each
comes from the binomial expansion of
, which is
. Therefore we take the product of all such
, and thus we have

This is equivalent to saying that there is no
term in the expansion of
.










