One Gold Bar, Two Cuts, Seven Evenings: 1, 2 and 4
Seven pieces cost six cuts and the schedule pays correctly, so the six-cut answer breaks one constraint and nothing else. Because the worker can hand pieces back, the contract is on his holding rather than on the transfer, and the ledger turns out to be a three-bit counter. Brute force finds 1-2-4 is the only three-piece solution.
A worker is hired for seven days and paid in gold. At the end of each day he must be holding exactly one more seventh of the bar than he was holding the evening before, so after day he holds of it and after day seven he has all of it. You are allowed to cut the bar twice.
Seven payments suggests seven pieces, and seven pieces need six cuts, because cuts of a single object always produce pieces. That schedule is not wrong. It pays the worker correctly on every one of the seven evenings, and if the contract had said nothing about cuts it would be the obvious way to run the job. It violates one constraint and nothing else.
The contract is on the holding, not on the handover
Read the requirement again. After evening the worker holds . Nothing says a seventh of the bar has to change hands, and nothing says gold only travels one way. If the worker can hand pieces back as change, the daily transfer is a difference between two holdings rather than a payment in its own right.
Find a set of piece sizes summing to such that every value for is the sum of some subset of them. The number of cuts is then one less than the number of pieces, and the daily transfer is whatever turns one subset into the next.
Written that way it is a covering problem about subset sums, and the answer is the one that covers the most with the fewest parts. Measure everything in sevenths and the pieces are , and :
The ledger is a binary counter
Every whole number from one to seven is a sum of , and in exactly one way, which is the statement that three binary digits count from to . So the schedule writes itself: on evening , the worker holds the pieces whose sizes are the set bits of .
The carries are exactly the evenings where change comes back. On day two the small piece returns and the double goes out; on day four both small pieces return and the largest goes out. Every step hands over only pieces the employer is holding and takes back only pieces the worker is holding, which is the feasibility condition, and it holds because binary addition of one never needs a digit it does not have.
No evening moves more than three pieces, and the largest single motion is on day four. If you are asked to produce this at a whiteboard, the fast way to say it is that the worker's holding isthe day number in binary and the employer's is its complement.
Why one cut could never have worked
The problem hands you the number two, so the honest answer is a construction plus a reason nothing smaller works. The reason is a count.
With pieces there are subsets, one of them empty, so at most
distinct positive totals are available. Seven evenings need seven distinct totals, so and . Three pieces cost two cuts. One cut would leave two pieces and at most three totals, which cannot cover seven evenings no matter where you place it.
Something stronger is true, and it is the part I did not expect. Among the four ways to split seven into three positive parts, only one works. Take : its subset sums are , missing three and four. Take : sums , missing two and five. Take : sums , missing one and six. Only gets all seven, and it gets each of them exactly once, with no slack anywhere. The bound in (2) is met with equality, so there is no room for a repeated total.
Longer contracts
Change seven days to and the same two arguments give a complete answer.
The smallest number of pieces is , so the smallest number of cuts is .
The lower bound is (2) again: . For the construction, take the doubling pieces , which cover every total from to , and let the last piece be the remainder
Because , this satisfies . Subsets containing then cover through , subsets without it cover through , and since the two ranges leave no gap.
A hundred days therefore needs pieces and six cuts, with sizes and a last piece of hundredths. The count of cuts grows like the logarithm of the length of the contract, which is the same reason a set of weights or a set of coins is built out of doubling denominations.
What the puzzle needs you to grant
The worker has to accept change. This is not a technicality, it is the entire solution, and the problem is unsolvable in two cuts without it. A worker who keeps whatever he is handed can be paid in at most three distinct amounts, and by day four you are stuck.
The pieces have to be interchangeable by weight rather than individually earmarked. What makes the bar divisible into "a quantity" instead of seven distinct objects is that only the total matters, and the contract has to be about how much gold the worker holds and not how many lumps he holds. On day four he holds one piece, on day seven he holds three, and neither is a breach.
Finally, the pieces are not equal, so the phrase "paid a seventh a day" describes the arithmetic of the holdings rather than a physical transfer of equal shares. That is the part that feels like sleight of hand on first reading, and it is worth saying out loud rather than hoping nobody asks.
Sources and further reading
- The uniqueness that makes Fig. 2 work — Binary number and positional notation
- The covering problem in the definition above — Subset sum problem
- The same doubling logic applied to coinage — Change-making problem
Every claim above was checked before publication: the piece sizes by brute force over every way of cutting the bar into whole sevenths, which found to be the only three-piece solution and no two-piece solution at all, and the schedule by walking the seven evenings transaction by transaction with a ledger that refuses any step handing over a piece the employer does not hold.
Comments · 0
Be the first to comment.