Problem:
Let be a real number between and . Jocelin has a coin that lands heads with probability and tails with probability ; she also has a number written on a blackboard. Each minute, she flips the coin, and if it lands heads, she replaces the number on the blackboard with ; if it lands tails she replaces it with . Given that there are constants such that the expected value of the value written on the blackboard after minutes can be written as for all positive integers , compute .