Design Exact-Quantity Boxes and Brackets with Binary Choices
Use each box as an on/off bit, prove the smallest possible number of boxes, avoid gaps in the reachable totals, and compare two different meanings of a tournament “bye.”
How can whole boxes make every requested total?
Each box has two states: take it or leave it. With n boxes there are at most 2^n subsets, including the empty subset. To supply every quantity from 0 through T, at least T+1 different totals are needed.
Two reusable tests
Use positive whole-number box quantities, sorted from smallest to largest for this test. Each box can be taken at most once; boxes cannot be opened or split. After the smaller boxes cover every total from 0 through S, the next box must be at most S+1.
Turn whole boxes into on/off bits
Need a hint?
Each box has two choices, including the option to leave every box.
Prove the minimum number of boxes
Need a hint?
Count T+1 totals, including zero, then compare powers of two.
Make every total without leaving a hole
Need a hint?
If smaller boxes cover 0 through S, the next box must be at most S+1.
Pack 250 eggs into the fewest exact-choice boxes
Without the 123-box, the first seven boxes cover 0–127. With it, the same choices cover 123–250. These intervals overlap at 123–127, so together they cover 0–250.
Each mask follows the box order displayed here, from left to right. Read the quantities above the bits; this order differs from the descending powers in Mission 1.
Need a hint?
The first seven boxes cover 0–127; the last adds 123 to that whole interval.
Scale the design to 500 eggs
The first eight powers-of-two boxes cover every total through 255. The last box has 245 eggs, and 245≤256, so it overlaps the old range instead of creating a gap.
Need a hint?
The first eight boxes total 255; subtract from 500.
Build an optimal exact-quantity system for a target
original target: 1000 bullets
Selected total: 743 · mask:
Design a new system
Need a hint?
The initial powers cover 2^(n−1)−1; the final box holds the remainder.
Keep two tournament “bye” counts separate
One empty first-round slot gives one bye in this fixed bracket. For 58 entrants in 64 slots, six empty slots are paired with players, giving six first-round byes. A different model pairs the remaining players anew each round: when the count is odd, exactly one player advances without playing. Then 58→29→15→8→4→2→1 gives one bye at 29 and one at 15: two bye occurrences in total.
| Entrants | Next bracket | Empty first-round slots | Difference in binary | Round-by-round byes |
|---|---|---|---|---|
| 243 | 256 | 13 | 1101₂ | 3 |
| 58 | 64 | 6 | 110₂ | 2 |
| 23 | 32 | 9 | 1001₂ | 2 |
Need a hint?
First find the entire gap; then count the powers of two in that gap.
Justify a complete box design
Optional: explore the Ten-Perfect Product solutions
This is a precomputed solution list, not a search running in your browser. To build it, enumerate distinct-digit factor pairs, group pairs with the same product, then keep pairs that together use all ten digits and satisfy the three inequalities.
Try verifying 230×76=184×95: check both products, all ten digits, and each inequality before inspecting another row.
Need a hint?
Use the lower bound and the gap rule together to justify a design.
Exact-choice design workshop
Correct all eight answers to complete this workshop. Use positive whole-number box quantities; each box can be taken once or left, and cannot be opened. A powers-first design uses 1,2,4,… for all but the final box, which holds the remaining items. The required totals include zero.
Need a hint?
Answers: 6; 16; 8; 245; 489; 6; 2; 250. Six boxes have 64 subsets. The adjusted quantities are 500−255 and 1000−511. The fixed 64-slot bracket has 6 empty slots; pairing remaining players anew each round gives two byes. Adding 123 to coverage 0–127 adds coverage 123–250.
Exit ticket and certificate
Need a hint?
Answers: 7; 123; 8; 2; 5. Seven boxes provide 128 subsets. Boxes 1,2,4 reach only 7 before the 9-box, leaving 8 missing. For 23 players paired anew each round: 23→12→6→3→2→1, with byes at 23 and 3. Five boxes can cover 0–31.