This is an animated version of Stanislaw Ulam's prime spiral.
The black dots are the prime numbers.
In a zoom-out mode the number on the bottom-right corner is the number
that will disappear next (the start of the sequence).
If this java applet does not start in your browser, you can
click here. This method requires
Java Web Start to be installed beforehand.
Clicking on the icons on the right side of the applet
modify the behaviour of the applet.
Select the original spiral mode. We display the numbers starting from the center.
Select the triangular mode.
This is somewhat different from Ulam's original diagram.
Zoom in, but leave the starting number always visible.
Increase the speed of the animation. The minimum time between frames is 10 msecs. The speed delay steps are following the 1,2,5 sequence.
Lower the speed. The maximum time between frames is 10 secs. Above this
level, the animations stops.
Reset the starting point to 1.
Move back one frame. Useful when the animation is stopped.
Move forward one frame. Useful when the animation is stopped.
Spiral 1024x800 Image
Triangular 1024x800 Image
Here is the source code.
Special thanks to Adys Japanese-Hungarian Dictionary http://adys.org/ for hosting this applet.
GNU (C) Gaspar Sinai 2008-04-29 Tokyo
This site can be linked with: