Concept: to find the INTEGER Values of Coordinates that would occur on a Line, take the Simplified Version of the Slope and figure out how many Integer moves you can make until you get to the End Point (here it is: (100 ; 1,000) )
Slope = Rise/ Run = (1,000 - 1) / (100 - 1) = 999 / 99 = 111 / 11 = (+)Positive Slope
to keep the Points as Integer Coordinates, we can move 111 Units UP along the Y-Axis and 11 Units to the RIGHT along the X-Axis to get to the NEXT Integer Coordinate on the Line. We can keep doing this until we get to Point (100 ; 1,000)
Starting from Point (1 , 1)
(12 ; 112) will be an Integer Coordinate that falls on this line
the 11 Units to the Right of X Coordinate 12 and 111 Units UP from Y Coordinate 112, we will land on another Integer Coordinate that is on the Line:
(23 ; 123)
if you keep doing this, you will find that there are 8 Points that have Integer Coordinates
-D-