Consider a grid unit square with $x$-$y$ plane $0$ to $20$. Draw line $y=\sqrt{2}x$.
How many unit squares in the grid does this line intersect?
And the more general case?
Consider a grid unit square with $x$-$y$ plane $0$ to $20$. Draw line $y=\sqrt{2}x$.
How many unit squares in the grid does this line intersect?
And the more general case?