How can you be so sure? To solve this problem, you first need to solve the optimal stopping time by doing a dynamic programming approach. To do this, start by calculating the average of the last roll, which is 50.5. Then you go backwards. You know that to get to the last roll, you needed to have rolled 50 or less (otherwise, why stop?). You would have stopped if you had greater than 50. The average of 51, 52, ..., 100 is 75.5. So to get the second to last roll, you needed to have had 75 or less. So on and so on. Now, you just need to calculate the expected value minus the cost (number of rolls -1) for each node. The optimal stopping time will be the time which maximizes this quantity.
How can you be so sure?
To solve this problem, you first need to solve the optimal stopping time by doing a dynamic programming approach. To do this, start by calculating the average of the last roll, which is 50.5. Then you go backwards. You know that to get to the last roll, you needed to have rolled 50 or less (otherwise, why stop?). You would have stopped if you had greater than 50. The average of 51, 52, ..., 100 is 75.5. So to get the second to last roll, you needed to have had 75 or less. So on and so on. Now, you just need to calculate the expected value minus the cost (number of rolls -1) for each node. The optimal stopping time will be the time which maximizes this quantity.
How can I be so sure? Well, what you're describing is equivalent to the recursion equation I posted above, whose solution is 1223/14.
2) \(E = \frac{E-2}{100}\cdot (E-1) + \large(1- \frac{E-2}{100}\right)\cdot \frac{E-1+100}{2}\), if \( E \)
For the last term "\(\frac{E-1+100}{2}\)", is that "\(E+1 + E+2 + ... + 100\)"?
If it is, the formula seems a bit odd to me...