How Many Primes Are In A Slice Of Pi?

Questions: What is the number of primes per n-slice of the decimal part of pi? What does the graph look like? Are there many overlapping primes (i.e. start at the same position in the slice)?

Making Chernoff Faces with Perl

Today being a Saturday, I decided to noodle around with the GD::Simple module and constructed rudimentary Chernoff faces – Cartoon data visualization.

Linguistic Analysis of the State of the Union Addresses

This weekend I harvested 231 State of the Union addresses up to 2017 and put them through NLP processing.

Prime Group Percentages

As usual, I am curious about the distribution of the primes.  This morning I wondered what percent of numbers with N digits were prime.  Not an earth shattering curiosity…  Naturally, I wrote a little perl program to answer it for me. 

Subsequent Prime Number Distribution

In 2016, two mathematicians, Kannan Soundararajan and Robert Lemke Oliver found that the prime numbers do not occur at random when looking at the final digits of subsequent primes.  For instance, a prime ending in 9 is more likely to be followed by a prime ending in 1, than any other digits (1, 3, 7 […]

The Density Plot of the Prime Gaps is a Fractal

As you look at the density plots of increasing numbers of prime gaps (the distance between subsequent primes), a fractal emerges.

Alternatives to the Logistic Equation

tl;dr: bifurcation.R Yesterday, I decided to plot the bifurcation diagram of the logistic equation.  This is a famous plot from the 70s, that many geeks will be familiar with (left).  It shows that simple systems can switch into “chaos mode” and begin to bifurcate wildly. To produce the graph, we use code in the R […]

Plotting Successive Primes Modulo A Number

        tl;dr: File this under Recreational mathematics… I have this passionate curiosity for seeing the primes “folded in on themselves” – constrained to a phase space.  I also have a burning desire to visualize successive events.  I suppose that I am searching for “strange attractors”, as with the famous water drip […]

Visualizing Chatter on a Polar Plot

What does IRC chatter look like on a polar plot, with lines linking the conversations?

Fibonacci v Primes: Cage Match!

Today I decided to more deeply investigate this curious math thing I discovered (for myself) – Plotting the Fibonacci numbers by Prime numbers each by a given modulo.  “Fibo-what? Mod-what? So what!”, you say. :p tldr code: slice-seq and slice-seq.R For the mechanics, I use Perl to produce the data and R to visualize it.