Square Spiral for a Given Number of Divisors

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.


  • [Snapshot]
  • [Snapshot]
  • [Snapshot]


This extends the Demonstration Primality Bit Spiral.
    • Share:

Embed Interactive Demonstration New!

Just copy and paste this snippet of JavaScript code into your website or blog to put the live Demonstration on your site. More details »

Files require Wolfram CDF Player or Mathematica.