On the table, there are two coins, with head probability each $p_1=\frac{1}{5}$ and $p_2=\frac{1}{7}$.
I choose at random one of the two coins and repeatedly launch it. I get the first head on the 4th launch. What is the probability that I have in my hand the coin for which $p_1=\frac{1}{5}$ ?
I have thought that if I have launched the first coins, to get head at the 4th throw, the probability is $0{,}5\cdot (\frac{1}{5})^4$ because we have probability of $0{,}5$ for the chosen of the coins and every throw of the coins is independent of the others and have probability $\frac{1}{5}$
But I don't think this is the right solution