The purpose of this repo is to gather (programming) solutions for the peculiar procedure for generating / achieving π (Pi) that Matt Parker presented in this video.
- In commemoration for Pi Day 2017.
- Having fun.
- No apparent logic reason.
Since the Probability of Two (random) Integers Being Coprime is given by:
We can generate lots of numbers and calculate π by:
Watch Matt Parker generating π from 1,000 random numbers by rolling a dice on here.
All solutions are from these users (in no particular order), some are quite efficient others not so much. Regardless thanks very much.
- Matt Parker
- Torfi Þorgrímsson
- TheWioreks
- Alyan Zahid
- Andriamanitra
- Bendik Mihle Hansen
- Buttercak3
- Ecrou Ecrouisseur
- Georgi Iliev
- Gerard Kool
- Pedro Sousa
- Bengineer8
- 梁瑋瀚
- TheWioreks
- LaugeRønberg
- Justin Murtagh
- Ando Bando
- Chris Pedro
- Alex Walters
- Mark Johnson
- Clark Cox
- navkums
- Bebopity
- GLaDHuRriCAn
- Tom Spink
- seevernet1
- Cody Woodard
- JustForFunc
- John Lindstedt
- Erik Lindemann
- Altoids The Destroyer
- limzykenneth
- MDuh Gaming
- QuomoZ
- elijah finn
- Josh Grigonis
- wHiTEY 542
- Bryan Ng
Happy Pi Day!