MathLabs

Problem 4

Consider decompositions of an 8×88\times8 chessboard into pp non-overlapping rectangles. Each rectangle has as many white squares as black squares. If aia_i is the number of white squares in the ii-th rectangle, then a1<a2<⋯<apa_1<a_2<\cdots<a_p. Find the maximum possible pp, and for this pp determine all possible sequences a1,…,apa_1,\ldots,a_p.
Step 1 of 5: Count the white squares
a1+⋯+ap=32,32≥1+2+⋯+p=p(p+1)2a_1+\cdots+a_p=32,\qquad 32\ge1+2+\cdots+p=\frac{p(p+1)}2
Detailed analysis

The whole board has 3232 white squares. Since rectangle ii has aia_i white squares and the rectangles partition the board, a1+⋯+ap=32a_1+\cdots+a_p=32. The strict inequalities and positivity imply ai≥ia_i\ge i, so 32≥1+2+⋯+p=p(p+1)/232\ge1+2+\cdots+p=p(p+1)/2.