Problem

Source:

Tags: Comc, 2017 COMC



Source: 2017 Canadian Open Math Challenge, Problem A3 Two $1$ × $1$ squares are removed from a $5$ × $5$ grid as shown. [asy][asy] size(3cm); for(int i = 0; i < 6; ++i) { for(int j = 0; j < 6; ++j) { if(j < 5) { draw((i, j)--(i, j + 1)); } } } draw((0,1)--(5,1)); draw((0,2)--(5,2)); draw((0,3)--(5,3)); draw((0,4)--(5,4)); draw((0,5)--(1,5)); draw((2,5)--(5,5)); draw((0,0)--(2,0)); draw((3,0)--(5,0)); [/asy][/asy] Determine the total number of squares of various sizes on the grid.