If $N$ is expressed as a polynomial in a prime $p$, with each of the the coefficients less than $p$, and $s$ is the sum of these coefficients, prove that the power of $p$ contained in $N!$ is $\frac{(N-s)}{(p-1)}$.
Here's my approach:—
As $N$ be expressed as a polynomial in a prime $p$,
$$N=a_np^x+a_{n-1}p^{x-1}+\dots +a_1p+a_0$$
We know that the highest power of prime $p$ contained in $N!$ is given by:
$$w_p(N!) = \left \lfloor \frac{N}{p} \right \rfloor + \left \lfloor \frac{N}{p^2} \right \rfloor + \left \lfloor \frac{N}{p^3} \right \rfloor + \cdots \cdots$$
As each of the coefficients is less than $p$ so $\left \lfloor \frac{a_0}{p} \right \rfloor\left \lfloor \frac{a_1}{p^2} \right \rfloor\dots\dots$ can be neglected
So,
$$\left \lfloor \frac{N}{p}\right \rfloor=a_np^{x-1}+a_{n-1}p^{x-2}+\cdots +a_2p+a_1$$
$$w_p(N!)=a_np^{n-1}+(a_n+a_{n-1})p^{n-2}+ \cdots +(a_n+a_{n-1}+ \cdots +a_1)$$
Now, I don't know how to get $\frac{(N-s)}{(p-1)}$ from here. If there are any better ways please let me know.
Any help would be highly appreciated