Relative Prime Applet
Description
This applet is designed to choose random integers and
checks whether they are relatively prime. The main goal of this action is to demonstrate the theorem that the probability of two positive integers chosen at random being
relatively prime is six divided by pi squared.
6/(pi*pi) = 0.6085 (approx.)
Applet Source: prime.txt , prime.java
Written by Nicholas Exner,
Modified by Michael McKelvey.
Send
comments to
mste@uiuc.edu
Last Revised: 7/21/98