Suppose there are $(N +1)$ identical urns marked $0,1,2, . . . ,N$ which contains $N$ balls. The $k^{th}$ urn contains $ k $ black and $N−k$ white balls, $k =0,1,2, . . . ,N.$ An urn is chosen at random, and $n$ random drawings are made from it, the ball drawn being always replaced. If all the $n$ draws result in black balls, find the probability that the $(n+1)^{th}$ draw will also produce a black ball. How does this probability behave as $N\to \infty$?
What I attempted:- Since all the $n$ balls drawn are found black, we can consider only those urns which contain at least $n$ black balls. There are $N-n+1$ urns which contain at least $n$ balls. The probability of choosing any one of them is $\frac{1}{N-n+1}$
Suppose, $A$ =The event of getting black balls in $n$ consecutive draws of a randomly chosen urn
$A_i$ = The $i^{th}$ urn is chosen. Here $n\le i \le N$
Now,\begin{equation} \begin{aligned} P(A)&=P(AA_n)+P(AA_{n+1})+......+P(AA_{N}) \\ &=\sum_{i=n}^{N} P(A_i) P(A|A_i)\\ &=\frac{1}{N-n+1} \sum_{i=n}^{N} \left(\frac{i}{N}\right)^n \end{aligned} \end{equation}
Similarly, we define
$B$= The event of getting $n+1$ black balls in $n+1$ consecutive draws of a randomly chosen urn.
We obtain that $P(B)=\frac{1}{N-n} \sum_{i=n+1}^{N} \left(\frac{i}{N}\right)^{n+1}$
We are required to find, $P(B|A)$ which is given as \begin{equation} \begin{aligned} P(B|A)=&\frac{P(AB)}{P(A)}\\ &=\frac{\frac{1}{N-n} \sum_{i=n+1}^{N} \left(\frac{i}{N}\right)^{n+1}}{\frac{1}{N-n+1} \sum_{i=n}^{N} \left(\frac{i}{N}\right)^n}\\ \end{aligned} \end{equation}
Am I correct?