I have seen this question.
However, mine is slightly different.
Let $p,q\in (0,1), p+q=1$. Assume that random variables $X$ and $Y$ are independent and both have the geometric distribution with parameters $p,q$, i.e.,
$$P(X=k)=P(Y=k)=q^kp\,,$$
where $k\in\mathbb{N}_0=\{0,1,2,...\}$.
I would like to show that
$$P(X=k\mid X+Y=n)=\frac{1}{n+1}$$
The questions I have seen here seem to arrive to the conclusion that it's equal to $\frac{1}{n-1}$. How do I arrive to $\frac{1}{n+1}$?