In this answer: https://math.stackexchange.com/a/652909
Ted equates mod $p$ the coefficients of $$\sum_{n=0}^{pa} \binom{pa}{n} x^n$$ and $$\sum_{i=0}^{a} \binom{a}{i} x^{pi}$$ to get that $$\binom{pa}{pb} \equiv \binom{a}{b} \mod p$$
But one of the summations has $pa$ terms, and the other summation has $a$ terms, so what does it mean to equate the coefficients mod $p$? Shouldn't it be that several different elements of $\sum \binom{pa}{n} x^n$ will collapse into one element of $\sum \binom{a}{i} x^{pi}$ since $x^{pb} \equiv x^{p^kb} \mod p$ so that after modding by $p$, the coefficients of each $x^{p^kb}$ will contribute to the coefficient of $x^{pb}$ i.e. $$\binom{pa}{b} + \binom{pa}{pb} + \binom{pa}{p^2b} \dots \equiv \binom{a}{b} \mod p$$
Is Ted's proof complete? And if not, what would a complete proof look like?