You start with a positive whole number of coins. Right in front of you is a magical bridge. The toll for crossing the bridge each time is exactly coins. However, after you cross the bridge but before you pay the toll, your coins are multiplied by , where is the total number of times you have crossed the bridge.
For example, if you started with coins, the first time you cross the bridge and after paying the toll, you will have coins left subtract for the toll Crossing the bridge for the second time and paying the toll leaves you with double then subtract for the toll
You cross the bridge infinite times and always have a positive number of coins. What is the minimum possible number of coins you can have at the start?
Inspired by the famous "A Bargain with the Devil" problem, in which your number of coins was multiplied by a fixed value before paying a fixed toll each time crossing a bridge for a fixed number of times.
This section requires Javascript.
You are seeing this because something didn't load right. We suggest you, (a) try
refreshing the page, (b) enabling javascript if it is disabled on your browser and,
finally, (c)
loading the
non-javascript version of this page
. We're sorry about the hassle.
Suppose that the toll is t coins and that you start with x coins.
The first time you cross the bridge, you have x − t > 0 coins left.
The second time, you have 2 ( x − t ) − t > 0 coins left.
The third time, you have 3 ( 2 ( x − t ) − t ) − t > 0 coins left.
The n th time, you have n ( ( n − 1 ) ( ( n − 2 ) ( ⋯ 3 ( 2 ( x − t ) − t ) − t ) − t ⋯ ) − t ) − t > 0 coins left. Simplify this to get n ! x − n ! t − 2 ! n ! t − 3 ! n ! t − ⋯ − n ! n ! t > 0 . Then, solve it to get that x > t ( 1 ! 1 + 2 ! 1 + 3 ! 1 + ⋯ n ! 1 ) for all n . Note that this is a bounded, monotonically increasing sequence.
When n → ∞ , we find that x > t ( e − 1 ) .
The minimum positive integer x when t = 1 0 0 0 0 and n → ∞ is therefore 1 7 1 8 3 coins.