Do Prime Numbers occur in patterns? Ulam's Spiral lists all numbers in a spiral then draws dots at the positions of all prime numbers. Hold <Shift> key + click "Green Flag" for Turbo Mode. Click the screen to draw the spiral.