Diagonal Problem (Manual Counting)

[size=100][size=150]How many squares does the diagonal of the rectangle pass through? Find a rule to determine the number of squares.[br][b]Touch [/b]or [b]click [/b]to [b]shade [/b]and count the squares at the diagonal. Drag the red point to change the dimensions of the rectangle.[/size][/size]
Anthony Or[br]GeoGebra Institute of Hong Kong

Information: Diagonal Problem (Manual Counting)