Relative Primality

Two integers are relatively prime when their only common divisor is 1. This concept can be illustrated by superimposing grids of cells with different spacings. If infinitely many grids of black cells are superimposed, so that there is a grid of spacing 2, a grid of spacing 3, and so on, then the white cells that remain are exactly those cells whose coordinates are relatively prime.


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