Hypotenuse lattice points

The triangle OMN has vertices on the axes with whole number co-ordinates. How many points with whole number coordinates are there on the hypotenuse MN?

Problem



The triangle OMN has vertices on the axes with whole number co-ordinates.


Points which have whole number coordinates are called lattice points.


How many lattice points are there on the hypotenuse MN?
Image
Hypotenuse Lattice points