Toasting Three at a Time
A frying pan can toast at most three slices of bread at once, and toasting one side of one slice takes exactly one minute; a slice counts as toasted only once both its sides have been done. Flipping or swapping slices takes no time. What is the minimum number of minutes needed to toast four slices of bread?
Work it out, then compare with the answer.
SolutionShow the worked solution
Lower bound. Four slices have sides to toast. The pan toasts at most sides per minute, so at least minutes are needed.
Construction. Call the slices and their sides . Toast:
- minute 1: ;
- minute 2: ;
- minute 3: .
In every minute the sides belong to different slices, and each side is toasted exactly once. So all four slices are done after minutes. The key is that slice is taken off after its first side and finished later. This keeps the pan full in the first two minutes.
Generalisation. Let a pan hold slices, and let there be slices to toast. The minimum time is .
- Case . Two minutes suffice and are needed, since each slice needs two separate minutes.
- Case . Write the sides in the order . Toast them at a time in this order. The two sides of a slice are places apart, so they never fall in the same block. This takes minutes, which matches the counting bound.
On its own, the counting bound can fail when there are fewer slices than places, e.g. slices in a -slice pan.