An urn contains one black and n-1 white balls. Balls are drawn at the random till the black ball is selected. Find out 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.