Let $n = (n_mn_{m - 1}...n_0)_p$ in base $p$ . Find the number of binomial coefficients among $$\binom{n}{0},\binom{n}{1},\ldots,\binom{n}{n}$$ that are multiples of $p$ .
What I Tried :- I couldn't think of any good ideas for now but I suppose we can use Lucas's Theorem , but I don't know how to use it here as I am new to Lucas's Theorem . Can anyone help ?
It is enough to find the number of binomial coefficients which are not multiples of $p$. We have to work in the finite field $\mathbb{F}_p$ and the polynomial ring $\mathbb{F}_p[X]$. The number of binomial coefficients $\binom{n}{k}\; (0\leq k\leq n)$, which are not divisible by $p$, is equal to the number of non-zero coeffients in $(1+X)^n$ reduced modulo $p$. We have the following reduction modulo $p$ in the ring $\mathbb{F}_p[X]$
Then
Since $(1+X^{p^i})^{n_i}$ has exactly $(n_i+1)$ non-zero terms modulo $p$, we have that the total number of non-zero terms in $(1+X)^n$ is
So the number of binomial coefficients which are multiples of $p$ is
Remark: Following this method one can show that the number of multinomial coefficients in
which are not divisible by $p$ is exactly