What is the greatest power of 18 that divides 190! ?
Consider that $18 = 2\cdot3\cdot3$, hence it is a product of prime numbers. So we are seeking $\mu$ in $(2\cdot3\cdot3)^\mu$. We use De Polignac's formula:
$$\mu=\sum_{k>0}\lfloor\bigg(\frac{n}{p^k}\bigg)\rfloor$$
By the technique to solve it we consider that:
$$\lfloor\bigg(\frac{n}{p^{k+1}}\bigg)\rfloor=\lfloor\bigg(\frac{n}{p^k}\bigg)\cdot\frac1p\rfloor$$
We insert for the numbers, $n=190$, but $p$ is not prime, but a product of primes. Any ideas if there is a better alternative than this or if I can use this formula by re-writing the numbers?