This program uses the probability of two numbers being coprime and their greatest common divisor (gcd) to calculate Pi, because that probability is 6/pi^2. Wikipedia: https://en.wikipedia.org/wiki/Coprime_integers Idea: https://youtu.be/RZBhSi_PwHU
-
Notifications
You must be signed in to change notification settings - Fork 0
This program uses the probability of two numbers being coprime and their greatest common divisor (gcd) to calculate Pi, because that probability is 6/pi^2. Wikipedia: https://en.wikipedia.org/wiki/Coprime_integers . Idea: https://youtu.be/RZBhSi_PwHU
License
Simonecimolato/Pi-using-primes
About
This program uses the probability of two numbers being coprime and their greatest common divisor (gcd) to calculate Pi, because that probability is 6/pi^2. Wikipedia: https://en.wikipedia.org/wiki/Coprime_integers . Idea: https://youtu.be/RZBhSi_PwHU
Resources
License
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published