You play the following game: you roll a fair dice then either you stop rolling and take the sum of the rolled numbers so far or you continue rolling the dice. Any time if a 1 is rolled you lose all your money, and has no option to continue the game. The strategy that you follow is that you wait until the cumulated price reaches a given level and then you stop. What should be this level in order to maximize the expected value of the prize?
My answer is 20...is it correct?
Let's say that $k$ points is the place where rolling again and stopping have the same expected value. That means that $$k=\frac16(0)+\frac16(k+2)+\frac16(k+3)+\frac16(k+4)+\frac16(k+5)+\frac16(k+6)\\k=\frac56k+\frac{20}6\\\frac16k=\frac{20}6\\k=20$$
So you are correct.