Let $P$ be the product of the first 100 positive odd integers. Find the largest integer $k$ such that $P$ is divisible by $3^k$.
There are $50$ odd numbers and $50$ even numbers between $0$ and $100$, $99$ being the $50$th odd. So it makes sense that, $199$ is the $100$th odd number.
I got that $$P = 1 \cdot 3 \cdots 199 = \frac{200!}{2 \cdot 4 \cdot 6 \cdots 198},$$
but that doesn't really help.
I am after $$\prod_{n = 0}^{99} (2n + 1),$$ but I don't see a general formula.
How many integers less than $199$ does $3$ divide? Every second of those are odd, starting with $3,9,15,...$
How many integers less than $199$ does $3^2$ divide? Every second of those are odd, starting with $9,27,45,...$ Note that all of those were already divisible by $3$ so already counted once before.
Combine those informations (add up all those figures) up to $3^4$, since $3^5=243>199$. I get $k=33+11+4+1=49$.
This figure is confirmed by Wolfram|Alpha.