my-server
← Wiki Redirected from Ulam numbers

Ulam number

In mathematics, the Ulam numbers comprise an integer sequence devised by and named after Stanisław Ulam, who introduced it in 1964. The standard Ulam sequence (the (1,&nbsp;2)-Ulam sequence) starts with U<sub>1</sub>&nbsp;=&nbsp;1 and U<sub>2</sub>&nbsp;=&nbsp;2. Then for n&nbsp;>&nbsp;2, U<sub>n</sub> is defined to be the smallest integer that is the sum of two distinct earlier terms in exactly one way and larger than all earlier terms.

Examples

As a consequence of the definition, 3 is an Ulam number (1&nbsp;+&nbsp;2); and 4 is an Ulam number (1&nbsp;+&nbsp;3). (Here 2&nbsp;+&nbsp;2 is not a second representation of 4, because the previous terms must be distinct.) The integer 5 is not an Ulam number, because 5&nbsp;=&nbsp;1&nbsp;+&nbsp;4&nbsp;=&nbsp;2&nbsp;+&nbsp;3. The first few terms are

1, 2, 3, 4, 6, 8, 11, 13, 16, 18, 26, 28, 36, 38, 47, 48, 53, 57, 62, 69, 72, 77, 82, 87, 97, 99, 102, 106, 114, 126, 131, 138, 145, 148, 155, 175, 177, 180, 182, 189, 197, 206, 209, 219, 221, 236, 238, 241, 243, 253, 258, 260, 273, 282, ... .

There are infinitely many Ulam numbers. For, after the first n numbers in the sequence have already been determined, it is always possible to extend the sequence by one more element: is represented as a sum of two of the first n numbers, so either it is a term of the sequence or it can be expressed in a different way as a sum of two elements. But since all other sums of two elements among the first n are less than , there must be an element of the sequence between U<sub>n</sub> and . The next element is therefore the smallest of the uniquely representable numbers that exceed U<sub>n</sub>.

Ulam is said to have conjectured that the numbers have zero density, but they seem to have a density of approximately 0.07398.

Properties

Apart from 1&thinsp;+ 2 = 3 any subsequent Ulam number cannot be the sum of its two prior consecutive Ulam numbers.

Proof: Assume that for n > 2, U<sub>n−1</sub> + U<sub>n</sub> = U<sub>n+1</sub> is the required sum in only one way; then so does U<sub>n&minus;2</sub> + U<sub>n</sub> produce a sum in only one way, and it falls between U<sub>n</sub> and U<sub>n+1</sub>. This contradicts the condition that U<sub>n+1</sub> is the next smallest Ulam number.

For n > 2, any three consecutive Ulam numbers (U<sub>n−1</sub>, U<sub>n</sub>, U<sub>n+1</sub>) as integer sides will form a triangle.

Proof: The previous property states that for n > 2, U<sub>n−2</sub> + U<sub>n</sub> &ge; U<sub>n + 1</sub>. Consequently U<sub>n&minus;1</sub> + U<sub>n</sub> > U<sub>n+1</sub> and because U<sub>n−1</sub> < U<sub>n</sub> < U<sub>n+1</sub> the triangle inequality is satisfied.

The sequence of Ulam numbers forms a complete sequence.

Proof: By definition U<sub>n</sub> = U<sub>j</sub> + U<sub>k</sub> where j < k < n and is the smallest integer that is the sum of two distinct smaller Ulam numbers in exactly one way. This means that for all U<sub>n</sub>&nbsp;with n > 3, the greatest value that U<sub>j</sub> can have is U<sub>n−3</sub> and the greatest value that U<sub>k</sub> can have is U<sub>n−1</sub>.
Hence U<sub>n</sub> &le; U<sub>n−1</sub> + U<sub>n−3</sub> < 2U<sub>n−1</sub> and U<sub>1</sub> = 1, U<sub>2</sub> = 2, U<sub>3</sub> = 3. This is a sufficient condition for Ulam numbers to be a complete sequence.

For every integer n > 1 there is always at least one Ulam number U<sub>j</sub> such that n &le; U<sub>j</sub> < 2n.

Proof: It has been proved that there are infinitely many Ulam numbers and they start at 1. Therefore for every integer n > 1 it is possible to find j such that U<sub>j−1</sub> &le; n &le; U<sub>j</sub>. From the proof above for n > 3, U<sub>j</sub>&nbsp;&le;&nbsp;U<sub>j−1</sub>&nbsp;+&nbsp;U<sub>j−3</sub>&nbsp;<&nbsp;2U<sub>j−1</sub>. Therefore n&nbsp;&le;&nbsp;U<sub>j</sub>&nbsp;<&nbsp;2U<sub>j−1</sub>&nbsp;&le;&nbsp;2n. Also for n = 2 and 3 the property is true by calculation.

In any sequence of 5 consecutive positive integers {i, i +&thinsp;1,..., i + 4}, i > 4 there can be a maximum of 2 Ulam numbers.

Proof: Assume that the sequence {i, i +&thinsp;1,..., i + 4} has its first value i = U<sub>j</sub> an Ulam number then it is possible that i +&thinsp;1 is the next Ulam number U<sub>j+1</sub>. Now consider i + 2, this cannot be the next Ulam number U<sub>j+2</sub> because it is not a unique sum of two previous terms. i + 2 = U<sub>j+1</sub> + U<sub>1</sub> = U<sub>j</sub> + U<sub>2</sub>. A similar argument exists for i + 3 and i + 4.

Inequalities

Ulam numbers are pseudo-random and too irregular to have tight bounds. Nevertheless from the properties above, namely, at worst the next Ulam number U<sub>n+1</sub> &le; U<sub>n</sub> + U<sub>n−2</sub> and in any five consecutive positive integers at most two can be Ulam numbers, it can be stated that

&le; U<sub>n</sub> &le; N<sub>n+1</sub> for n > 0,

where N<sub>n</sub> are the numbers in Narayana’s cows sequence: 1,1,1,2,3,4,6,9,13,19,... with the recurrence relation N<sub>n</sub> = N<sub>n−1</sub> +N<sub>n−3</sub> that starts at N<sub>0</sub>.

Hidden structure

It has been observed that the first 10 million Ulam numbers satisfy except for the four elements (this has now been verified for the first Ulam numbers). Inequalities of this type are usually true for sequences exhibiting some form of periodicity but the Ulam sequence does not seem to be periodic and the phenomenon is not understood. It can be exploited to do a fast computation of the Ulam sequence (see External links).

Generalizations

The idea can be generalized as (u,&nbsp;v)-Ulam numbers by selecting different starting values (u,&nbsp;v). A sequence of (u,&nbsp;v)-Ulam numbers is regular if the sequence of differences between consecutive numbers in the sequence is eventually periodic. When v is an odd number greater than three, the (2,&nbsp;v)-Ulam numbers are regular. When v is congruent to 1 (mod 4) and at least five, the (4,&nbsp;v)-Ulam numbers are again regular. However, the Ulam numbers themselves do not appear to be regular.

A sequence of numbers is said to be s-additive if each number in the sequence, after the initial 2s terms of the sequence, has exactly s representations as a sum of two previous numbers. Thus, the Ulam numbers and the (u,&nbsp;v)-Ulam numbers are 1-additive sequences.

If a sequence is formed by appending the largest number with a unique representation as a sum of two earlier numbers, instead of appending the smallest uniquely representable number, then the resulting sequence is the sequence of Fibonacci numbers.

Notes

References

External links