I have an exam that I can pass with a probability p.
If I fail the exam, I can retry as many times as I want until I do (the chances to succeed at the 3rd try is still p).
What's the probability that I succeed at the n th retry (which is to say that I took n-1 exams, failed them, and then succeeded at the nth) ?