Locate All the Integer Points between Two Integer Points

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

THINGS TO TRY

SNAPSHOTS

  • [Snapshot]
  • [Snapshot]
  • [Snapshot]
    • Share:

Embed Interactive Demonstration New!

Just copy and paste this snippet of JavaScript code into your website or blog to put the live Demonstration on your site. More details »

Files require Wolfram CDF Player or Mathematica.