x ⁢ f′ ⁡ ( h ) + h − f ⁡ ( h ) f′ ⁡ ( h ) Some preliminary results for the final estimation: Then substituting this into the approximation we get very simple result for all that work.
So the more general formula for the number of repeats T to yield a probability P of the event with probability x-1 occurring is For most values of P, the −0.5 offset of the graph is negligible. It only becomes relevant where P is close to 1, in which case the 0.7x estimate from earlier is inaccurate. The estimate is also inaccurate for choices of x close to 1, i.e. high certainty events. This isn't an issue for reciprocal probabilities, where 2 is the highest value used, but for other values of x between 1 and 2 (corresponding to events with more than a 50% likelihood) the estimation is very inaccurate. Luckily its also not very useful for those values as they are very likely after only a single repeat.