Ulam number
   HOME

TheInfoList



OR:

In
mathematics Mathematics is an area of knowledge that includes the topics of numbers, formulas and related structures, shapes and the spaces in which they are contained, and quantities and their changes. These topics are represented in modern mathematics ...
, the Ulam numbers comprise an
integer sequence In mathematics, an integer sequence is a sequence (i.e., an ordered list) of integers. An integer sequence may be specified ''explicitly'' by giving a formula for its ''n''th term, or ''implicitly'' by giving a relationship between its terms. For ...
devised by and named after
Stanislaw Ulam Stanisław Marcin Ulam (; 13 April 1909 – 13 May 1984) was a Polish-American scientist in the fields of mathematics and nuclear physics. He participated in the Manhattan Project, originated the Teller–Ulam design of thermonuclear weapon ...
, who introduced it in 1964. The standard Ulam sequence (the (1, 2)-Ulam sequence) starts with ''U''1 = 1 and ''U''2 = 2. Then for ''n'' > 2, ''U''''n'' is defined to be the smallest
integer An integer is the number zero (), a positive natural number (, , , etc.) or a negative integer with a minus sign ( −1, −2, −3, etc.). The negative numbers are the additive inverses of the corresponding positive numbers. In the languag ...
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 + 2); and 4 is an Ulam number (1 + 3). (Here 2 + 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 = 1 + 4 = 2 + 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 uniquely represented as a sum of two of the first ''n'' numbers, and there may be other smaller numbers that are also uniquely represented in this way, so the next element can be chosen as the smallest of these uniquely representable numbers. Ulam is said to have
conjecture In mathematics, a conjecture is a conclusion or a proposition that is proffered on a tentative basis without proof. Some conjectures, such as the Riemann hypothesis (still a conjecture) or Fermat's Last Theorem (a conjecture until proven in ...
d that the numbers have zero
density Density (volumetric mass density or specific mass) is the substance's mass per unit of volume. The symbol most often used for density is ''ρ'' (the lower case Greek letter rho), although the Latin letter ''D'' can also be used. Mathematicall ...
, but they seem to have a density of approximately 0.07398.


Properties

Apart from 1 + 2 = 3 any subsequent Ulam number cannot be the sum of its two prior consecutive Ulam numbers. :Proof: Assume that for ''n'' > 2, ''U''''n''−1 + ''U''''n'' = ''U''''n''+1 is the required sum in only one way; then so does ''U''''n''−2 + ''U''''n'' produce a sum in only one way, and it falls between ''U''''n'' and ''U''''n''+1. This contradicts the condition that ''U''''n''+1 is the next smallest Ulam number. For ''n'' > 2, any three consecutive Ulam numbers (''U''''n''−1, ''U''''n'', ''U''''n''+1) as integer sides will form a triangle. :Proof: The previous property states that for ''n'' > 2, ''U''''n''−2 + ''U''''n'' ≥ ''U''''n'' + 1. Consequently ''U''''n''−1 + ''U''''n'' > ''U''''n''+1 and because ''U''''n''−1 < ''U''''n'' < ''U''''n''+1 the
triangle inequality In mathematics, the triangle inequality states that for any triangle, the sum of the lengths of any two sides must be greater than or equal to the length of the remaining side. This statement permits the inclusion of degenerate triangles, but ...
is satisfied. The sequence of Ulam numbers forms a
complete sequence In mathematics, a sequence of natural numbers is called a complete sequence if every positive integer can be expressed as a sum of values in the sequence, using each value at most once. For example, the sequence of powers of two (1, 2, 4, 8, ...), ...
. :Proof: By definition ''U''''n'' = ''U''''j'' + ''U''''k'' 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''''n'' with ''n'' > 3, the greatest value that ''U''''j'' can have is ''U''''n''−3 and the greatest value that ''U''''k'' can have is ''U''''n''−1. :Hence ''U''''n'' ≤ ''U''''n''−1 + ''U''''n''−3 < 2''U''''n''−1 and ''U''''1'' = 1, ''U''''2'' = 2, ''U''''3'' = 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''''j'' such that ''n'' ≤ ''U''''j'' < 2''n''. :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''''j''−1 ≤ ''n'' ≤ ''U''''j''. From the proof above for ''n'' > 3, ''U''''j'' ≤ ''U''''j''−1 + ''U''''j''−3 < 2''U''''j''−1. Therefore ''n'' ≤ ''U''''j'' < ''2U''''j''−1 ≤ 2''n''. Also for ''n'' = 2 and 3 the property is true by calculation. In any sequence of 5 consecutive positive integers , ''i'' > 4 there can be a maximum of 2 Ulam numbers. :Proof: Assume that the sequence has its first value ''i'' = ''U''''j'' an Ulam number then it is possible that ''i'' + 1 is the next Ulam number ''U''''j''+1. Now consider ''i'' + 2, this cannot be the next Ulam number ''U''''j''+2 because it is not a unique sum of two previous terms. ''i'' + 2 = ''U''''j''+1 + ''U''1 = ''U''''j'' + ''U''2. 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''''n''+1 ≤ ''U''''n'' + ''U''''n''−2 and in any five consecutive positive integers at most two can be Ulam numbers, it can be stated that : ≤ ''U''''n'' ≤ ''N''''n''+1 for ''n'' > 0, where ''N''''n'' are the numbers in Narayana’s cows sequence: 1,1,1,2,3,4,6,9,13,19,... with the recurrence relation ''N''''n'' = ''N''''n''−1 +''N''''n''−3 that starts at ''N''0.


Hidden structure

It has been observed that the first 10 million Ulam numbers satisfy \cos < 0 except for the four elements \left\ (this has now been verified for the first 10^9 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 An internal link is a type of hyperlink on a web page to another page or resource, such as an image or document, on the same website or domain. Hyperlinks are considered either "external" or "internal" depending on their target or destination ...
).


Generalizations

The idea can be generalized as (''u'', ''v'')-Ulam numbers by selecting different starting values (''u'', ''v''). A sequence of (''u'', ''v'')-Ulam numbers is ''regular'' if the sequence of differences between consecutive numbers in the sequence is eventually periodic. When ''v'' is an
odd Odd means unpaired, occasional, strange or unusual, or a person who is viewed as eccentric. Odd may also refer to: Acronym * ODD (Text Encoding Initiative) ("One Document Does it all"), an abstracted literate-programming format for describing X ...
number greater than three, the (2, ''v'')-Ulam numbers are regular. When ''v'' is
congruent Congruence may refer to: Mathematics * Congruence (geometry), being the same size and shape * Congruence or congruence relation, in abstract algebra, an equivalence relation on an algebraic structure that is compatible with the structure * In mod ...
to 1 (mod 4) and at least five, the (4, ''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 2''s'' terms of the sequence, has exactly ''s'' representations as a sum of two previous numbers. Thus, the Ulam numbers and the (''u'', ''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 number In mathematics, the Fibonacci numbers, commonly denoted , form a sequence, the Fibonacci sequence, in which each number is the sum of the two preceding ones. The sequence commonly starts from 0 and 1, although some authors start the sequence from ...
s..


Notes


References

* * * * * * * * *


External links


Ulam Sequence from MathWorld

Fast computation of the Ulam sequence by Philip Gibbs
!-- viXra sources tend to be unreliable, but this one has been reviewed favourably by Knuth's paper below, so it can stay per WP:USEBYOTHERS -->
Description of Algorithm
by
Donald Knuth Donald Ervin Knuth ( ; born January 10, 1938) is an American computer scientist, mathematician, and professor emeritus at Stanford University. He is the 1974 recipient of the ACM Turing Award, informally considered the Nobel Prize of computer sc ...

The github page of Daniel Ross
{{DEFAULTSORT:Ulam Number Integer sequences