WTF is this?

The images you see on this blog are output from various Ulam spiral generators I built in Flash, Python and most recently using Arduino. Generally, each dot in an image represents a number with integer 1 at center. In addition to writing algorithms to test each number for primality within a set I have discovered that an infinite number of calculations can be performed to create new designs and animation algorithms. The simplicity and speed of these algorithms make them an ideal fit for embedded systems graphics, scientific, mathematical and artistic explorations.

Sunday, June 15, 2008

Corner Primes


Primes on "corners" are connected with a line. A corner, in the case of a Ulam Spiral, is like corners in real life. It's where we turn to go in a different direction. The corner primes in this image are:

2,3,5,7,13,17,31,37,43,73,101,157,197,211,241,257,307,401,421,463,577,601,677,757,1123,1297, and 1483.


Now if you take the average of these numbers you get 242.074074074.... Subtract 1 because I said so, and you get 241.074074074..., which rounds to 241. Prime!


Do the same with 2,3,5,7,13,17. Averages to 7.8 - 1 = 6.8. Rounds to 7. Bingo. Prime!


Do it with 2,3,5,7,13,17, and 31. Averages to 11.142857. Don't subtract the 1 because then our rounded average would not be prime. Dang it.

Weird? Yes. Significant? Nope.

No comments: