Square Spiral for a Given Number of Divisors

Requires a Wolfram Notebook System
Interact on desktop, mobile and cloud with the free Wolfram Player or other Wolfram Language products.
Ulam marked the primes by counting along a square spiral. This Demonstration generalizes that to show the numbers with a given number of divisors along the spiral.
Contributed by: Michael Schreiber and George Beck (March 2011)
Open content licensed under CC BY-NC-SA
Snapshots
Details
This extends the Demonstration Primality Bit Spiral.
Permanent Citation
"Square Spiral for a Given Number of Divisors"
http://demonstrations.wolfram.com/SquareSpiralForAGivenNumberOfDivisors/
Wolfram Demonstrations Project
Published: March 7 2011