Skip to content

Month: March 2016

Fatal Application Error #CVS.
Instagram: http://ift.tt/1TjzFdc

Ah, ha, ha, ha, stayin’ alive, stayin’ alive. #CPR #AED #FirstAid.
Instagram: http://ift.tt/1RToHGf

The Prime Conspiracy visualized over an Ulam Spiral in HTML5

Click here for the HTML5 demo in Javacript

This is a visualization inspired by the article Mathematicians Discover Prime Conspiracy by Erica Klarreich on Quanta Magazine.

Previously I wrote Twin primes visualized over an Ulam Spiral in HTML5, I reused the code and added the coloring as:

  • All primes ending in 1 are green.
  • All primes ending in 3 are red.
  • All primes ending in 7 are blue.
  • The prime 2 is yellow.
  • The prime 5 is gray.

Here is the result with each square with size 4 pixels:

prime conspiracy ulam

Here is the same with each square of size 2 pixels:

prime_conspiracy_ulam_2px

And with 1 pixels:

prime_conspiracy_ulam_1px

As before, the source code (prime_conspiracy.html) is available at github.com/silveira/ulam.

Photo by @suyanevom.
Instagram: http://ift.tt/1pjBOJx

The newest member of the family, our pineapple ukulele.
#lanikai #soprano #lutu21P #gcea.
Instagram: http://ift.tt/1nFecxP

Deer, opossum, squirrel, and raccoon tracks..
Instagram: http://ift.tt/1QO0pks