Ulam numbers

Ulam numbers

A Ulam number is a member of an integer sequence which was devised by Stanislaw Ulam and published in SIAM Review in 1964. The standard Ulam sequence (the (1, 2)-Ulam sequence) starts with "U""1"=1 and "U""2"=2 being the first two Ulam numbers. Then for "n" > 2, "U""n" is defined to be the smallest integer that is the sum of two distinct earlier terms in exactly one way Harvcol|Guy|2004|pp=166-67. Ulam conjectured that the numbers have zero density, but they seem to have a density of approximately 0.07396.

Examples

By the definition, 3=1+2 is an Ulam number; and 4=1+3 is an Ulam number (The sum 4=2+2 doesn't count 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 OEIS|id=A002858.The first Ulam numbers that are also prime numbers are:2, 3, 11, 13, 47, 53, 97, 131, 197, 241, 409, 431, 607, 673, 739, 751, 983, 991, 1103, 1433, 1489 (OEIS2C|id=A068820).

Generalization

The idea can be generalized as (u, v)-Ulam Numbers by selecting different starting values (u, v) and by requiring that the terms be a sum of "s" previous terms in a given number "t" of ways, referred as an (s, t)-Additive Sequence or as an s-Additive Sequence for the standard case t = 2.

ample code

Here is some sample (non-optimized) Python code that generates all Ulam numbers less than 1000.ulam_i = [1,2,3] ulam_j = [1,2,3] for cand in range(4,1000): res = [] for i in ulam_i: for j in ulam_j: if i = j or j > i: pass else: res.append(i+j) if res.count(cand) = 1: ulam_i.append(cand) ulam_j.append(cand)print ulam_i

References

*Citation
surname1=Guy|given1=Richard|authorlink1=Richard Guy
year=2004
title=Unsolved Problems in Number Theory
edition=third
publisher=Springer-Verlag
ID=ISBN 0-387-20860-7

External links

* [http://mathworld.wolfram.com/UlamSequence.html Ulam Sequence from MathWorld]


Wikimedia Foundation. 2010.

Игры ⚽ Нужен реферат?

Look at other dictionaries:

  • Ulam — is a surname and may refer to: * Adam Ulam (1922–2000), Polish American professor of History and Political Science at Harvard University * Stanislaw Ulam (1909–1984), Polish born American mathematician who participated in the Manhattan Project ** …   Wikipedia

  • Ulam spiral — The Ulam spiral to 150 iterations. Red dots represent prime numbers; blue dots represent composite numbers, with the size of the dot indicating the degree of compositeness. The Ulam spiral, or prime spiral (in other languages also called the Ulam …   Wikipedia

  • Ulam — Stanislaw Ulam (Foto auf seinem Los Alamos Dienstausweis während des 2. Weltkriegs) Stanisław Marcin Ulam, auch Stanley Ulam (* 13. April 1909 in Lwów; † 13. Mai 1984 in Santa Fe) war ein polnischer Mathematiker. Stanislaw Ulams Ma …   Deutsch Wikipedia

  • Ulam, Stanislaw Marcin — ▪ American scientist born April 13, 1909, Lemberg, Poland, Austrian Empire [now Lviv, Ukraine] died May 13, 1984, Santa Fe, New Mexico, U.S.       mathematician who played a major role in the development of the hydrogen bomb at Los Alamos, New… …   Universalium

  • Ulam-Funktion — Das Collatz Problem, auch als (3n + 1) Vermutung bezeichnet, ist ein ungelöstes mathematisches Problem, das 1937 von Lothar Collatz entdeckt wurde. Inhaltsverzeichnis 1 Problemstellung 2 Ursprung und Geschichte 2.1 Publizierte Quellen 2.2 …   Deutsch Wikipedia

  • Ulam-Vermutung — Das Collatz Problem, auch als (3n + 1) Vermutung bezeichnet, ist ein ungelöstes mathematisches Problem, das 1937 von Lothar Collatz entdeckt wurde. Inhaltsverzeichnis 1 Problemstellung 2 Ursprung und Geschichte 2.1 Publizierte Quellen 2.2 …   Deutsch Wikipedia

  • Stanislaw Ulam — Infobox Scientist name = Stanislaw Ulam box width = image width =150px caption = Stanisław Ulam in the 1950s birth date = birth date|1909|4|13 birth place = Lwów death date = death date and age|1984|5|13|1909|4|13 death place = Santa Fe residence …   Wikipedia

  • List of prime numbers — This is an incomplete list, which may never be able to satisfy particular standards for completeness. You can help by expanding it with reliably sourced entries. By Euclid s theorem, there are an infinite number of prime numbers. Subsets of the… …   Wikipedia

  • Stanislaw Ulam — Pour les articles homonymes, voir Ulam. Photo du badge de Stanisław Ulam à Los Alamos Stanisław Marcin Ulam (13 avril 1909 13 mai 1984) est un mathématicien américain d origine polonaise. Il aida à développer …   Wikipédia en Français

  • Stanislaw Marcin Ulam — Stanislaw Ulam (Foto auf seinem Los Alamos Dienstausweis während des 2. Weltkriegs) Stanisław Marcin Ulam, auch Stanley Ulam (* 13. April 1909 in Lwów; † 13. Mai 1984 in Santa Fe) war ein polnischer Mathematiker. Stanislaw Ulams Ma …   Deutsch Wikipedia

Share the article and excerpts

Direct link
Do a right-click on the link above
and select “Copy Link”