This applet is designed to choose random integers and check whether they are relatively prime. This demonstrates the theorem that the probability of two positive integers chosen at random being relatively prime is six divided by pi squared.

6/π^{2} ≈ 0.6079271018540266

## Experiment

- # Trials = 0
- # Relatively Prime = 0
- Ratio (Prime / Total) = 0
- π ≈ √6 / Ratio = 0

### Generated Integer Pairs

### Credits

- Original Java Applet by Nick Exner (1998)
- Modified by Michael McKelvey (2002)
- JavaScript+HTML5 Remake by Evan Ramos (2014)