is there a fast way to calculate the sequence:
$f_k = 0.5 * (f_{k-1}+1) + 0.5* (\frac{1}{f_{k-1}})$
for $f_7$ with $f_1=100$?
Specifically, the question was that a coin was thrown: If I get heads, I get one additional dollar and if I get tails, my earnings are being inverted (for instance I have 200\$, after one tail, I only have 1/200 \$).
The game is played 7 times. How much is my expected value?
Thanks! Johannes
I do not think your recursion gives the correct expected value, and it would be better to find the $64$ equally probable values and take the mean.
Using R code for the recursion
while for the problem itself
which is rather different