Quantcast
Viewing latest article 2
Browse Latest Browse All 5

Stefan Steinerberger: The Ulam Sequence

This post is authored by Stefan Steinerberger.

The Ulam sequence

Image may be NSFW.
Clik here to view.
1,2,3,4,6,8,11,13, 16, 18, \dots

is defined by starting with 1,2 and then repeatedly adding the smallest integer that is (1) larger than the last element and (2) can be written as the sum of two distinct earlier terms in a unique way. It was introduced by Stanislaw Ulam in a 1962 paper (`On some mathematical problems connected with patterns of growth of figures’) where he vaguely describes this as a one-dimensional object related to the growth of patterns. He also remarks (in a later 1964 paper) that `simple questions that come to mind about the properties of a sequence of integers thus obtained are notoriously hard to answer.’ The main question seems to have been whether the sequence has asymptotic density 0 (numerical experiments suggests it to be roughly 0.07) but no rigorous results of any kind have been proven so far.

A much stranger phenomenon seems to be hiding underneath (and one is tempted to speculate whether Ulam knew about it). A standard approach in additive cominatorics is to associate to the first Image may be NSFW.
Clik here to view.
N
elements of a sequence Image may be NSFW.
Clik here to view.
a_1, a_2, \dots, a_N
a
function

Image may be NSFW.
Clik here to view.
 f_N(\theta) = \exp{(a_1 i \theta)} + \exp{(a_2 i \theta)} + \dots + \exp{(a_N i \theta)}

and work with properties of Image may be NSFW.
Clik here to view.
f_N
. If we do this with the elements of the Ulam sequence and plot the real part of the function, we get a most curious picture with a peak around
Image may be NSFW.
Clik here to view.
 \theta \sim 2.571447\dots

Image may be NSFW.
Clik here to view.
pic1

Such spikes are generally not too mysterious: if we take the squares Image may be NSFW.
Clik here to view.
1,4,9,16, ...
we can observe a comparable peak at Image may be NSFW.
Clik here to view.
\theta = 2\pi/4
for the simple reason that squares are Image may be NSFW.
Clik here to view.
\equiv 0, 1
(mod 4). However, here things seem to be very different: numerically, the Ulam sequence does seem to be equidistributed in every residue class. Due to Image may be NSFW.
Clik here to view.
2\pi-
periodicity, the function Image may be NSFW.
Clik here to view.
f_N
only sees the set of numbers

Image may be NSFW.
Clik here to view.
\left\{ \theta a_n~\mbox{mod}~ 2\pi: 1 \leq n \leq N\right\}

and it makes sense to look at the distribution of that sequence on the torus for that special value Image may be NSFW.
Clik here to view.
\theta \sim 2.571447\dots
. A plot of the first 10 million terms reveals a very strange distribution function.

Image may be NSFW.
Clik here to view.
pic2

The distribution function seems to be compactly supported (among the first 10 million terms only the four elements Image may be NSFW.
Clik here to view.
2, 3, 47, 69
give rise to elements on the torus that lie outside Image may be NSFW.
Clik here to view.
[\pi/2, 3\pi/2]
.) The same phenomenon seems to happen for some other initial conditions (for example, 2,3 instead of 1,2) as well and the arising distribution functions seem to vary greatly.

 

Question 1: What is causing this?

Question 2: Are there other `natural’ sequences of integers with that property?

 

See also Stefan’s paper  A Hidden Signal in the Ulam sequence .

Update: See also Daniel Ross’  subsequent study of Ulam’s sequence, presented in Daniel’s sort of public ongoing “research log”.  (“It includes a summary at the top of the most interesting observations to date, which usually lags a couple weeks behind the most current stuff.”) Image may be NSFW.
Clik here to view.
pic3


Viewing latest article 2
Browse Latest Browse All 5

Trending Articles