Quoto

Learn / Library / Brainteasers

Rectangles that are not squares

BrainteasersEasy

A board is cells tall and cells wide. Count the rectangles, of any size, whose sides lie along the grid lines and that are not squares.

Checking an answer needs JavaScript. The hint and the solution open without it.

A whole number, a decimal, a fraction like 3/8 or a percent.

Hint

Count all rectangles by choosing grid lines, then subtract the squares by side length.

Solution
  1. The board has horizontal and vertical grid lines, and a rectangle is fixed by choosing of each, so there are rectangles in all.
  2. A square of side has positions, for from to .
  3. That gives squares.
  4. The rectangles that are not squares number .

Answer: