Suppose you are flipping a coin whose probability of heads is $\frac{i}{j}$ where $i$ is the number of heads up to that toss and $j$ is the total number of tosses. Assume the coin lands tails the first time and heads the second. Thus the probability of heads on the third toss is $\frac{1}{2}$. What is the probability of getting exactly $35$ heads in 50 tosses?
My first thought was to use a binomial RV, but then you have a variable chance of success after each toss. You could bash this out with a computer since there are a finite amount of cases. My best thought is there is some sort of recursive solution, but I can't see what to do. Is there a known distribution this follows?