An urn contains one black and n-1 white balls. Calls are drawn at random until the black ball is selected. Find the probability that exactly k white balls will be drawn before the black one is if (a) each ball is replaced before the next ball is drawn and (b) balls are not replaced.