LLMpediaThe first transparent, open encyclopedia generated by LLMs

Ulam number

Generated by DeepSeek V3.2
Note: This article was automatically generated by a large language model (LLM) from purely parametric knowledge (no retrieval). It may contain inaccuracies or hallucinations. This encyclopedia is part of a research project currently under review.
Article Genealogy
Parent: Stanislaw Ulam Hop 4
Expansion Funnel Raw 54 → Dedup 36 → NER 7 → Enqueued 6
1. Extracted54
2. After dedup36 (None)
3. After NER7 (None)
Rejected: 29 (not NE: 29)
4. Enqueued6 (None)
Similarity rejected: 1
Ulam number
NamedafterStanisław Ulam
Terms numberInfinite
First terms1, 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
OEISA002858

Ulam number. In the field of number theory, an Ulam number is a member of an integer sequence where each term is uniquely expressible as the sum of two distinct earlier terms. The standard sequence is defined with the initial terms 1 and 2, after which each subsequent number is the smallest integer greater than the previous one that can be written in exactly one way as a sum of two distinct earlier terms in the sequence. This sequence exhibits a seemingly irregular, non-periodic structure that has intrigued mathematicians since its proposal, presenting challenges in predicting its density and distribution compared to more regular sequences like the prime numbers.

Definition and properties

The sequence is defined recursively. Let the set of Ulam numbers be denoted U. The base cases are U1 = 1 and U2 = 2. For n > 2, Un is defined as the smallest integer greater than Un−1 that has a unique representation of the form Ui + Uj with i < j < n. A key property is the uniqueness condition; an integer is excluded if it can be formed as such a sum in zero or more than one way. Computationally, this requires checking all pairs of previous terms, a process studied in combinatorics. The sequence is infinite, a fact established by its constructive definition, but its asymptotic density remains an open question. Unlike the Fibonacci numbers, Ulam numbers do not follow a simple linear recurrence relation. Empirical observations suggest the sequence has a tendency towards quasiperiodicity, but it lacks the predictable structure of sequences defined by modular arithmetic.

Examples and sequences

Beginning with 1 and 2, the next number is 3, as 3 = 1 + 2 in the only possible way. The number 4 follows, since 4 = 1 + 3. The integer 5 is not included because it is representable in two ways: 5 = 1 + 4 and 5 = 2 + 3, violating the uniqueness rule. Therefore, the next Ulam number is 6, with 6 = 2 + 4. The sequence continues: 8 (2+6), 11 (3+8), 13 (2+11), 16 (3+13), and 18 (2+16). The first few terms are cataloged in the On-Line Encyclopedia of Integer Sequences as A002858. Researchers like James Schmerl and Eugene Spiegel have computed extensive lists, revealing irregular gaps. For instance, there are occasional large intervals, such as between 47 and 53, followed by clusters of closer numbers. The behavior is often compared to the sporadic distribution of twin primes, though no direct mathematical proof connects the two.

History and discovery

The sequence was first defined by the Polish-American mathematician Stanisław Ulam in 1964. Ulam, known for his work on the Manhattan Project and foundational contributions to topology and ergodic theory, introduced the sequence during a scientific meeting. He reportedly conceived it while doodling on a notepad, seeking a simple, non-linear recursive definition that would generate an irregular, non-predictable integer set. The sequence was later popularized in his 1964 book, co-authored with Mark Kac and others, and in the journal SIAM Review. Early computational investigations were conducted at Los Alamos National Laboratory using the MANIAC I computer, reflecting Ulam's long-standing interest in experimental mathematics and Monte Carlo methods. The problem attracted attention from scholars like Paul Erdős, who discussed its properties in the context of additive number theory.

Mathematical significance

The primary significance lies in its role as a canonical example of a "recursively defined integer sequence with unpredictable additive properties." It serves as a testing ground for understanding the complexity inherent in simple arithmetic rules, a theme central to the study of cellular automata and complex systems. The Ulam sequence challenges intuitions derived from the study of perfect numbers or Mersenne primes, which follow more structured patterns. Major open problems include determining whether the sequence has a positive natural density among the integers and if there are infinitely many Ulam-type pairs with a fixed difference, analogous to the Hardy–Littlewood conjecture for primes. Its study intersects with graph theory through representations as sum graphs and with computational complexity theory regarding the efficiency of generating its terms.

Several generalizations of the original definition exist. One variant changes the initial seeds, such as starting with (1, 3) or (2, 3), which can produce sequences with different densities and properties, some studied by Richard Guy. Another direction defines "Ulam-type sequences" in other algebraic structures, like in the ring of integers modulo n or within vector spaces. The concept is related to the study of sum-free sets and Sidon sequences, which also impose conditions on additive representations. In combinatorial game theory, sequences with unique sum representations inform strategies in impartial games. The broader philosophical impact is its contribution to the field of experimental mathematics, championed by figures like Stephen Wolfram, illustrating how simple deterministic rules can yield outputs of great apparent randomness. Category:Integer sequences Category:Additive number theory Category:Unsolved problems in mathematics