I found this on Quora (I've redrawn it more neatly)
World’s toughest riddle
I have £50
|
Spend
|
Balance
|
|
20
15
9
6
|
30
15
6
0
|
|
50
|
51
|
Where did the £1 come from?
Challenge for everyone.
Solve this one!!!!
I think when we first see this, most of us will start adding up the balances to see if the total is correct. It's a sort of "Thinking fast and slow" example where an instinctive reaction clicks in and it's only after a bit more (and slower) thought that we see adding up the balances is totally irrelevant. If we had spent the £50 one pound at a time they would have been and added up to £1225!
But it's well crafted and manipulates us into accepting the false premise that the two columns ought to add up to the same amount. The fact that the "discrepancy" is only £1 and the way the figures in the "Spend" column progressively decrease in parallel with the balance, all helps to strengthen the illusion, and the "Challenge' at the end also influences us.
With Copilot's help, I was able to trace it back to Mathematics Stack Exchange question 953553 from 2014 and it has been reproduced in various places since, but I haven't been able to trace it any further.
My question to you is: Can you find four descending numbers for the "Spend" column that make the numbers in the "Balance" column sum to exactly £50?
Of course this would be no good at all in the original "Riddle" but it's an interesting problem to work out.
Solution below.
Solution
If the starting balance is and the successive spends we can fill in the as follows
| Spend |
Balance |
| a |
50 - a |
| b |
50 - a - b |
| c |
50 - a - b - c |
| d |
50 - a - b - c - d |
| a + b + c + d |
200 - 4a - 3b - 2c - d |
We want both columns to sum to and we also want the succes speends to be in descending order, so we need to solve
and .
The second equation can be simplified to , and we can solve this subject to the constraint .
At this point I prompted Copilot:
"Find all solutions in integers of , subject to "
and it found 14 solutions, all correct, I've checked them.
| a |
b |
c |
d |
| 18 |
16 |
14 |
2 |
| 18 |
17 |
12 |
3 |
| 19 |
15 |
13 |
3 |
| 19 |
16 |
11 |
4 |
| 19 |
17 |
9 |
5 |
| 19 |
18 |
7 |
6 |
| 20 |
14 |
12 |
4 |
| 20 |
15 |
10 |
5 |
| 20 |
16 |
8 |
6 |
| 21 |
13 |
11 |
5 |
| 21 |
14 |
9 |
6 |
| 22 |
12 |
10 |
6 |
| 22 |
13 |
8 |
7 |
| 23 |
11 |
9 |
7 |
I asked Copilot how it found these and it replied by enumeration but also gave a (pretty long) solution by algebra and systematic enumeration that shows these 14 are all the solution there are.
Tags: World’s toughest riddle, Copilot, Three men dine at a restaurant, and the bill comes to £30