Imagine a game of roulette in which the player has a chance of $\frac 1n$ to win. When he does win, he earns $k > n$ times his initial bet. In other words, it's a worthwhile game for the player, as its expected value is
$$\frac kn > 1$$
The player is allowed to play an infinite number of times, but needs to pick ahead of time a single amount of money $b$ that he must bet on every round. Moreover, he doesn't have an infinite amount of money to begin with, only \$$a$ (where $a \ge b$, obviously).
If the player wants a chance of exactly $2\%$ (or any other arbitrarily low number) of never losing all of his money, what portion of $a$ should he choose $b$ to be?