Rectangles on a chessboard
How many rectangles of all sizes, squares included, have their sides along the grid lines of an chessboard?
Fractions, decimals with at least 3 significant digits, and expressions such as sqrt(2)/2, e^-1 or pi/4.
A rectangle is fixed by its two horizontal sides and its two vertical sides.
An board has 9 horizontal grid lines and 9 vertical ones.
h
s Shown after a correct answer. Revealing it first marks the problem as seen, not solved.
Idea. Choosing a rectangle is the same as choosing two of the horizontal grid lines and two of the vertical ones.
Step 1. There are 9 horizontal lines, so ways to choose the top and bottom sides, and likewise 36 ways for the left and right sides.
Step 2.
Squares only. A square can be placed in positions, so there are squares. Interviewers often ask for the squares first, then the rectangles.
A curiosity. , which also equals .