The formula for the next generation $p$ is as following:

$$p\_{n}=\frac{p\_{n-1}(1-p\_{n-1})}{1-{p\_{n-1}}^2}$$

* $p\_n$ is the percentage of the new allele in the next generation
* Also $0 <p\_{n-1} < 1$

I was wondering if there is just a standard formula for $p\_n$, because I was asked to calculate the percentage of the $50$th generation. My only conclusion is that I have to enter the value 50 times into the formula, but I don't know if there is a more efficient way to calculate this.