Skip to content

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

Notifications You must be signed in to change notification settings

Simonecimolato/Pi-using-primes

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 

Repository files navigation

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

No packages published

Languages