Very nicely written-Thanks!

I have a technical question, why is the reward a*(1-p)^{n-1} and not a*p*(1-p)^{n-1}?
This strongly affects the results is p is small.