All puzzles

One coin, or a thousand a day?

Offer A: 1000 coins every day for 30 days. Offer B: 1 coin today, 2 tomorrow, 4 the day after — doubling every day for 30 days.

How much does the doubling offer pay out in total?

Where these numbers come from