Mabl

Strange programming and other stuff

Ulam Spiral

The Ulam- or Prime spiral is a spiral made up of numbers placed in a spiral like pattern in an increasing order as shown on the image below from Wikipedia.

The numbers that are prime numbers marked with a different color which produces interesting patterns. Below is an interactive live generated version of the Ulam Spiral which, given enough time, will look through the first approximately 9.000.000 numbers in the spiral.

Wikipedia Ulam Spiral link.



Next Post

Previous Post

Leave a Reply

© 2024 Mabl

Theme by Anders Norén