Solution:
Let the number of black balls in the urn be k≥2. Then the probability of drawing a white ball first is n+kn, and the probability of drawing a black ball second is n+k−1k. This gives us the equation
(n+k)(n+k−1)nk=100n
from which we get
(n+k)(n+k−1)=100k
Let m=n+k. Since 100∣m(m−1), we must have that either 100 divides one of m,m−1 or 25 divides one of m,m−1 and 4 divides the other. Since m,m−1>k, if either of m or m−1 is greater than or equal to 100, the product m(m−1)>100k. Therefore, the only possible values for m are 25 and 76.
If m=25, we have
m(m−1)=600⟹k=6⟹n=19
If m=76, we have
m(m−1)=5700⟹k=57⟹n=19
So n=19 is the unique solution.