A 5 by 5 board is made of 25 unit squares. How many rectangles with sides along the grid lines are there that are not squares?
Answer: (C) 170 Status: Verified (T1). Checked by code and independent solves on 2026-11-20.
- 225
- 55
- 170
- 200
Solution
- A rectangle is fixed by choosing 2 of the 6 vertical lines and 2 of the 6 horizontal lines: C(6, 2) x C(6, 2) = 15 x 15 = 225 rectangles including squares.
- Squares of side k number (6 - k)² for k = 1 to 5: 25 + 16 + 9 + 4 + 1 = 55.
- Non-square rectangles = 225 - 55 = 170.
Fast method
All rectangles C(6, 2)² = 225, squares 1² + 2² + 3² + 4² + 5² = 55, difference 170.
Expected time: about 150 seconds. Difficulty: hard.
Topic page: Combinations and selections