Locate All the Integer Points between Two Integer Points

Requires a Wolfram Notebook System

Interact on desktop, mobile and cloud with the free Wolfram CDF Player or other Wolfram Language products.

Requires a Wolfram Notebook System

Edit on desktop, mobile and cloud with any Wolfram Language product.

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.)

Contributed by: Prabhav Jain (March 2011)
Open content licensed under CC BY-NC-SA


Snapshots


Details

detailSectionParagraph


Feedback (field required)
Email (field required) Name
Occupation Organization
Note: Your message & contact information may be shared with the author of any specific Demonstration for which you give feedback.
Send