I was helping my friend do his(adsbygoogle = window.adsbygoogle || []).push({}); basic skills mathwhen he asked me help on this question:

Write a formula to determine how many boxes in an n x m grid will be intersected by a diagonal drawn from one corner to its opposite.

**Physics Forums | Science Articles, Homework Help, Discussion**

Dismiss Notice

Join Physics Forums Today!

The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

# A semi-tough question I came accross

**Physics Forums | Science Articles, Homework Help, Discussion**