The value of $n$ is important as follows:
It is completely irrelevant - every coin removed from the urn results in a series of tosses of the coin until a tail occurs, where each toss has 50% probability of adding a coin to the urn, and a 50% chance of moving on to the effect of the next coin removed.
Each coin removed has an expectation of adding $\frac12 + \frac14 + \frac18 + ... + \frac1{2^i} + ...$ additional coins, regardless of the value of $n$ chosen at each step.
The value of coins in the pot at the start of each turn will always be equal to
$100 + h - t$, where $h$ is the number of heads tossed so far, and $t$ is the number of tails, which simulates a simple random walk.
The game ends
the first time that $t = h + 100$. Although it could seem that the game could continue for ever, it will terminate with probability 1, and we could expect to calculate a finite expected value...
Currently this is a partial answer, as I don't currently have time to work out, and my google-fu failed to find the formula for
a simple random walk crossing a specified threshold.
Update: I later realised I abandoned a further edit and forgot to undelete this answer after fixing the misunderstanding that made me delete it initially... Gareth McCaughan♦ has since posted a more rigorous answer that demonstrates that
the expectation is in fact infinite.
Despite this,
although it could seem that the game could continue for ever, it will terminate with probability 1 - a random walk eventually visits all points an infinite number of times.
Also, for most games,
the actual result will be well within the billionaire's means - after about 10000 coin flips (not calculated nor correct formula determined - a rough approximation by "law of large numbers" where deviation is of the order of the square root of the number of samples), the number of coins in the pot would be expected to differ from the original number by around 100, and in cases where it differs in the negative direction, the game ends. The mathematical expectation is infinite because of a small minority of games that add arbitrarily large numbers of coins to the pot before eventually removing as many as they added (which will eventually occur with probability 1!).
For a slightly different analysis of why this is the expectation, consider what happens first between two events that must have equal probability:
-
The pot becomes empty for the first time
-
The pot doubles in value for the first time
The probability of
staying strictly between 0 and 200 coins forever is zero. On average we would expect to exceed those limits after something of the order of 10000 coins have been taken out of the pot (I'll call this $m$ later). Thus there is a 50:50 chance that we'll either double the pot or end the game.
After this,
It is just as though we started the game over, but with 200 coins in the pot, and the same analysis applies, but this time we expect to get 4 times as many coins out of the pot before it either doubles or becomes empty... each time we double the pot rather than ending the game, the next phase of the game will, on average, take 4 times as long, and get us 4 times the amount of money.
So our expected winnings by this analysis are:
$m + 4m(\frac12) + 16m(\frac14) + ... + 2^{2i}m\frac1{2^i} + ...$
which is the same as
$m(1 + 2 + 4 +... + 2^i + ...)$
which is infinite.
However, taking into account that we're playing against a billionaire
we should ignore all terms in that infinite series that exceed the billionaire's wealth. Even assuming a "gold coin billionaire" who has over a billion gold coins, they'll have to stop after adding something of the order of $km$, where k is of the order of 100000 or so. To get an easily calculable result, assume $m = 10000, k < 2^{17}$
so we sum only the terms up to the point we assume the billionaire will run out of money:
$m + 4m(\frac12) + 16m(\frac14) + ... + 2^{16}m\frac1{2^8}$
which is the same as
$m(1 + 2 + 4 + 8 + 16 + 32 + 64 + 128) = 255m$
As such, our expected winnings are around 2 or 3 million coins (although in practice, almost all games will end with winnings much less than 1 million coins).