WOLFRAM NOTEBOOK

WOLFRAM|DEMONSTRATIONS PROJECT

Locate All the Integer Points between Two Integer Points

gridlines
show points
endpoint 1: (1, 1)
endpoint 2: (1000, 100)
number of lattice points between (1, 1) and (1000, 100) is: 10
This Demonstration lets you find the number of integer points on the line segment connecting any two given integer points whose coordinates are in the range from 0 to 1000. (An integer point, sometimes called a lattice point, has both coordinates as integers.)
Wolfram Cloud

You are using a browser not supported by the Wolfram Cloud

Supported browsers include recent versions of Chrome, Edge, Firefox and Safari.


I understand and wish to continue anyway »

You are using a browser not supported by the Wolfram Cloud. Supported browsers include recent versions of Chrome, Edge, Firefox and Safari.