If you have two events each with continuous probabilities of happening in any given second, how can you find the probability that one event happens N times before the other event reaches that count? This given an even probability distribution.
For example, if miner A finds 400 chunks of gold per second and miner B finds 600 chunks of gold per second, what is the likelihood miner A obtains 5 chunks of gold before miner B does?
I have up-voted Brian Tung's answer, but I think a more leisurely account of the matter is worth something.
The question says:
and then
This is somewhat imprecisely stated in some ways. But its phrasing makes sense if we assume that the number of chunks of gold found in any interval of time is always probabilistically independent of the number found in an in another interval of time that does not overlap with that interval, and that the probability of finding more than one chunk at a given instant, given that at least one was found then is $0.$ Probably one could argue that any other interpretation is too complicated for the way the question was phrased.
In that case, the number of chunks found in any time interval has a Poisson distribution, so that \begin{align} \Pr( & \text{number of chunks} = x) = \frac{\lambda^x e^{-\lambda}}{x!}, \\[4pt] & \text{where $\lambda$ is the average number of chunks found in that amount of time.} \end{align}
We are told that
Here we will also assume that the numbers of chunks found by A and B are probabilistically independent of each other.
A standard theorem about Poisson processes is this:
Thus we have $$ \Pr(\text{number found by A} = x \mid \text{total number found by both} = n) \\[6pt] = \binom n x \left( \frac{400}{400+600} \right)^x \left( \frac{600}{400+600} \right)^{n-x}. \tag 1 $$ I think a number of times people have posted here asking how to prove that.
Next, the question says:
Every baseball fan knows the following fact of arithmetic, being reminded of it each year in October: the event that team A wins four games against team B before team B wins four games against team A is the same as the event that in the first seven games between A and B, team A wins more games than team B.
The same thing applies here: The event that miner A finds five chunks before miner B finds five chunks is the same as the event that among the first nine chunks found, five or more were found by miner A.
Thus, apply formula $(1)$ above with $x=5,6,7,8,9$ and add them up. You get about $0.2665677.$