Karim and the genie. Each time Karim walks once round a banyan tree, his coins double, and then he must give the genie 8 coins. After the third round he has exactly 8 coins, which all go to the genie, leaving nothing. How many did he start with?
Let the start be x: after round 1: 2x − 8; after round 2: 2(2x − 8) − 8 = 4x − 24; after round 3: 2(4x − 24) = 8x − 48 coins, and this equals 8.
8x − 48 = 8 → 8x = 56 → x = 7
Check: 7 → 14 − 8 = 6 → 12 − 8 = 4 → 8 − 8 = 0 ✓.
If the cost per round is c and he has x coins, one round leaves 2x − c. This is more than x only when c < x. For the genie to take everything in three rounds, 8x − 7c = 0, so c = 8x/7 (with x = 7, c = 8).
A fraction pattern. 1/3, (1 + 3)/(5 + 7), (1 + 3 + 5)/(7 + 9 + 11) are all 1/3. The first n odd numbers add to n², the first 2n add to 4n², so the next n add to 3n². The fraction is n²/3n² = 1/3 every time.
Tap the diagram to enlarge it
- x → 2x − c each round
- Gain only if c < x
- First n odd numbers add to n²