no of squares in mxn rectangle, crossed by diagonal (Chile NMO 1989 P2)
Source:
November 19, 2021
geometryrectanglecombinatorics
Problem Statement
We have a rectangle with integer sides that is subdivided into squares of side . Find the number of little squares that are crossed by the diagonal (without counting those that are touched only in one vertex)