I have a question somewhat similar to: Expected number of tosses to get 3 consecutive Heads However for my purposes, you don't have to re-start from the beginning of a sequence if you fail a trial (usually), and I'm not sure if I'm calculating this correctly. The system in question come from a game, a part of which involves upgrading your gear, which is summarized below:
\begin{array}{||c} Level & Chance\ Of\ Success & Penalty\\ \hline 0\ to\ 1 & 100 & NA\\ 1\ to\ 2 & 100 & NA\\ 2\ to\ 3 & 100 & NA\\ 3\ to\ 4 & 100 & NA\\ 4\ to\ 5 & 100 & NA\\ 5\ to\ 6 & 50 & NA\\ 6\ to\ 7 & 50 & Lose\ 1\ level\\ 7\ to\ 8 & 50 & Lose\ 1\ level\\ 8\ to\ 9 & 40 & Lose\ 1\ level\\ 9\ to\ 10 & 40 & Lose\ 1\ level\\ 10\ to\ 11 & 40 & Reset\ to\ 0\\ \end{array}
Here is my attempt so far at figuring this out (my apologies if I'm completely wrong...):
-Levels 1 to 5 are self explanatory, 5 trials to get to level 5.
-Level 5 to 6 is simply levels 1-5 trials + 2 more trials.
-Levels 6 to 7 and 7 to 8 are equal to (previous trials) + (current level - 5)*2 + 2.
-Levels 8 to 9 and 9 to 10 are equal to (previous trials) + (((current level - 5)+4)*2)+1.
-Level 10 to 11 is equal to (previous trials * 2) + 1 [99 trials in total keeping in mind you cannot have fractional trials].
If I'm wrong please correct me, thank you for reading.