If an ant crawls from one corner to the other corner of a 3 \times 5 rectangle, then it will cross through seven squares.
If the ant crawls from one corner to the other corner of a 15 \times 16 rectangle, then how many squares will it cross through?
I used desmos.com to graph y = (15/16) x and counted them: The ant passes through 30 squares
Note that in a 3x5 grid it was 7 and that in a 15x16 grid it was 30.
Both times it equaled L + W – 1. Could this be a rule for all grids?
.