The code for the simulation can be found on GitHub here

The other day, I heard a friend talk about a new discovery in prime numbers (Yes, I know…, and yes, that’s the kind of stuff we talk about). The study, done by Kannan Soundararajan and Robert Lemke Oliver of Stanford University in California, suggests that prime numbers are not actually random! If you missed this news, there were articles written about it here, here, here, etc…

UML

I thought I’d try out the simulation myself and I received similar results.

UML