SASMO Counting Extension: A Three-by-Three Grid Contains Six Tilted Squares Too

A square does not stop being a square when it is tilted. If a problem allows any square with vertices on grid points, counting only horizontal and vertical sides leaves some shapes out. This original SASMO extension exercise makes the allowed objects explicit. It is not a copied contest question or a statement that this level is appropriate for every participant.

Need help choosing a next step? Scan the contact QR code below or contact Hanlin on WeChat. Send SASMO-DOT-GRID-1113 and tell us your school year and question.

Define the grid and what counts

Use the sixteen points (x,y) with x and y each equal to 0, 1, 2 or 3. They form a three-by-three grid of small cells. Count squares whose four corners are among these points, whether their sides follow the grid lines or slope across cells. We do not require a sloping side to be a drawn grid segment. Without that last rule, the problem would be a different one.

Count the familiar upright squares first

Side lengths one, two and three give 9, 4 and 1 upright squares respectively, for a total of fourteen. For side length two, the lower-left corner has two possible horizontal and two possible vertical positions, explaining the count four. This first subtotal is useful, but the fact that it covers every upright position does not establish that it covers every orientation.

Find four diamond-shaped squares

A square with vertices (1,0), (2,1), (1,2) and (0,1) has perpendicular equal-length sides. Its bounding box is two units wide and two units high. That box can start in two horizontal positions and two vertical positions within the grid, giving four such diamonds. Moving the same four vertices around in a different listing order does not create another square.

Include the two remaining sloping squares

Another square has vertices (1,0), (3,1), (2,3) and (0,2). Consecutive side vectors are (2,1) and (-1,2): they have equal squared length five and dot product zero. Reflecting the shape gives the distinct square (2,0), (3,2), (1,3), (0,1). Each needs the full three-by-three bounding box, so there are two in this orientation pair. The total is 14 + 4 + 2 = 20.

Show that no orientation was missed

For a tilted square, choose a side direction with positive integer components a and b; the perpendicular side has components -b and a. Its bounding box has width and height a + b, which cannot exceed three. The only positive pairs are (1,1), (1,2) and (2,1), precisely the cases counted above. Writing this small complete list turns a convincing drawing into an exhaustive counting argument.

Continue reading: SASMO Counting Practice: Three Overlapping Clubs Need the Triple Intersection Added Back.

Contact Hanlin

Planning a first attempt or reviewing a topic you find difficult? Scan the QR code and send SASMO-DOT-GRID-1113. Include your school year, country or competition region, experience and the question you want to discuss.

Scan to contact Hanlin on WeChat. Send SASMO-DOT-GRID-1113.

Contact Hanlin on WeChat

On your phone, use the button or save the QR image and scan it within WeChat.

Official information and further reading: Source 1

Online Customer Service
Contact Customer Service