Generalized Ulam Sets in the Plane

This Demonstration plots a list of points of the generalized Ulam set in the plane after steps of iteration. The recursive rule to generate is to append vectors to the previous set of minimal Euclidean norms that can be uniquely written as the sum of two distinct vectors from . The specified list of linearly independent initial vectors completely determines the points.
Set the "step size " for the plot, keeping in mind that any setting may be slow.
The list of two or more initial vectors may be specified by selecting one of the preset initial vector combinations or randomly.


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


[1] N. Kravitz and S. Steinerberger, "Ulam Sequences and Ulam Sets."
[2] M. D. Schmidt, "Pair Correlation and Gap Distributions for Substitution Tilings and Generalized Ulam Sets in the Plane."
[3] M. D. Schmidt. "Ulam-sets." (Jul 31, 2017)
    • 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.