Notice that the 3x4 rectangle below contains 20 squares (12 1x1, 6 2x2,
and 2 3x3).
Find an algorithm or formula for the number of squares for any (whole
number) dimensioned rectagle with height N and width M. An algorithm
is worth 20 points, an atual formula is worth 25.
Send your answer to firstname.lastname@example.org
Back to Problems