On this page
Model and claim
A valid cutting plan is a guillotine dissection: every cut splits one rectangle into two rectangles, and every final piece is a square with a positive integer side length. Let be the minimum number of squares for an rectangle. Rotation gives .
The source post claimed that when . Its proof shifts between and without shifting the condition. The argument below proves the conservative sufficient condition
for positive integers . This rewrite does not claim the stronger threshold from the source post.
A bound for a remainder rectangle
For positive integers ,
By symmetry, assume . If , use unit squares. Otherwise write , where and . If , squares suffice. If , place squares and cut the remaining rectangle. Strong induction on the longer side gives , so
The last inequality follows from . This construction uses only guillotine cuts.
Proof of the recurrence bound
Set , and assume . Placing one square beside an optimal dissection gives
We prove the reverse strict inequality. Let and choose an optimal guillotine dissection of an rectangle.
If it contains an square, that square spans the full height. Removing it leaves left and right guillotine rectangles whose widths sum to . Place their dissections side by side to obtain an dissection with squares. Hence .
Now suppose the optimal dissection contains no square. Define
Then and . Consider the left prefix of width . Integer-sided square leaves in an integer guillotine dissection have integer boundary coordinates, so contains unit-width columns.
In each column, the squares crossing it have side lengths whose vertical intervals partition height . There must be at least two such squares. By Cauchy–Schwarz,
Count a square of side as a fraction in each unit column it crosses. Across all columns of , the total fractional count is at least . Any one square contributes at most across , so at least distinct original squares intersect . Call their number ; thus .
Delete those squares and fill with squares. To the right of , crop the original guillotine dissection at the vertical boundary of . The cropped layout remains guillotine: by induction on the slicing tree, discard subtrees wholly to the left and keep those wholly to the right; at an intersected vertical node, crop the left child and keep the right child if the crop line is before the cut, and otherwise discard the left child and crop the right child; at a horizontal node, crop both children and keep the cut. Thus only squares crossed by the line become rectangular fragments. Each such fragment has height and width at most ; their vertical intervals are disjoint, so the sum of their heights is at most . The preceding bound tiles these fragments with at most squares in total. All other squares to the right remain unchanged.
The resulting full-width dissection uses at most squares. Remove the leftmost new square; the remaining rectangle has width and uses at most
because and . Therefore in this case as well.
We have proved . Since both values are integers, combining this with (1) gives
Substituting proves the stated bound.
Scope
The threshold is sufficient, not necessary. It is deliberately stronger than the unverified threshold in the original post; do not use the original threshold on the strength of this proof. The proof relies on the guillotine-cut model used by the rectangular-cut dynamic program.
Source history
Adapted from “BOJ-10803 정사각형 만들기(증명)”, published on 2022-05-31 by 0archlinux0 / MINJUN PARK and marked CC BY 4.0. This version corrects the shifted threshold, makes the tile-count argument explicit, and states only the sufficient bound established here.