Visible Lattice Points and Approximations to Pi

A lattice point is visible from the origin if there is no other lattice point on the segment , which happens if and only if . The proportion of such lattice points is .
This Demonstration uses that fact to approximate π. The blue points represent the lattice points that are visible from the origin, and the red points those that are not visible. The pitch of the sound is proportional to the GCD of the current point.
  • Contributed by: Chingis Matayev
  • (Illinois Mathematics Summer REU Program 2015)


  • [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.