Attack log — Density of the Ulam sequence
2026-08-17 — start
House: write only under problems/ulam-sequence. Target is a certified finite advance
(exact prefix, covering/automaton certificate, or a spectral fact with a verifier).
Plots without a theorem are residue. Do not claim the density exists unless proved.
Fetched the three required sources.
Green 100 #7 (December 2025 update)
Define Ulam’s sequence by , , and the smallest number uniquely of the form with . Does this sequence have positive density? Can one explain the curious Fourier properties?
Comments point at Ulam and at Steinerberger’s . A related open question (Dickson / Queneau variants): are consecutive differences eventually periodic? Also Erdős #341 and #342.
OEIS A002858 (accessed 2026-08-17)
Classical Ulam numbers. Ulam conjectured density 0; McCranie’s computations to hover near density . Later records:
- (Gibbs–McCranie)
Only consecutive pair below that range: and . Only consecutive-sum Ulam numbers in the first 28 billion terms: and . First differences and large-gap companions: A072832, A080287, A080288.
We will not beat a 28-billion-term prefix. An exact-prefix dent is closed.
Steinerberger, A hidden signal in the Ulam sequence, Exp. Math. 26 (2017);
arXiv:1507.00267
Empirical with absolutely continuous and non-uniform. For the first terms, except . McCranie later gave . No closed form. Other “erratic” initial data , , have analogous (different) frequencies.
Current published theorems (not density)
- Sequence infinite; (trivial unique-sum of last two).
- Eggleton (in Recamán, AMM 1973): , hence with the real root of ().
- Clément–Steinerberger, Small gaps in the Ulam sequence, CR Math. 363 (2025), arXiv:2501.16285: Eggleton cannot hold twice in a row. Majorize by products of three matrices (Type I / Type II / Eggleton) with no two consecutive . Submultiplicative estimate at word length gives for large . Same argument cannot beat . Also: some small gaps must exist, .
- Regular (eventually periodic difference) theory: Finch; Schmerl–Spiegel ( has exactly two evens); Cassaigne–Finch ( has exactly three evens). Does not apply to .
- Hinman–Kuca–Schlesinger–Sheydvasser: rigidity for families as grows; density of at most (for this is , useless for the classical sequence); several new regular pairs via a finite even-free certificate.
- Kravitz–Steinerberger: Ulam sets in .
- Erdős #342 (Bloom, last edit 2025-09-30; forum accessed 2026-08-17): still open, “cannot be resolved with a finite computation”. Zero claimed proofs. Forum note (Jan 2026) explicitly suggests optimizing the CS constant .
Agama arXiv:2007.02697v12 (dated 2026)
Claims density zero via “circles of partition” and addition chains. Not cited by Green (Dec 2025) or by Erdős #342 (2026-08-17). We treat it as unaccepted and do not use it. A density claim is not a finite certificate in any case.
Judge (Codex, 2026-08-16)
dentable_tonight: 2, reject no-finite-handle. The specified tonight quest
is none. The house prompt nevertheless asks for a certified finite advance.
The only published finite-handle with a number we can beat is the CS growth
constant , obtained by a finite word-max of an operator norm.
Quest
- Independently generate a verified Ulam prefix (match OEIS A002858 b-file / listed terms). Replay Steinerberger’s cosine inequality on that prefix with a verifier. This is documentation, not a dent.
- Independently recompute the CS quantity. If it matches , the published is reproduced.
- Compute the same quantity at larger , and/or under extra combinatorially proved forbidden words, and/or under a conjugated / extremal norm. If the resulting is strictly less than , that is a certified improvement of the published growth bound.
- Do not claim the natural density exists.
Search residue (plots, empirical density , unproved automata) is not a bound.
2026-08-17 — sources finished, first computations
Independent Ulam generator matches OEIS A002858 b-file: 10 000 terms, last term . Two generators (value-sieve and first-) agree.
Steinerberger cosine test on the first 20 000 terms, at both the 2015 working value and the McCranie bracket : except exactly . Mean cosine , matching Steinerberger's . Harmonic packet for matches his Table 1 to two digits. This is a documented finite spectral fact with a verifier. It is not a proof that a limiting measure exists.
2026-08-17 — false start: extra forbidden CS words
Classified every step of the first 20 000 Ulam numbers as Eggleton / Type I / Type II / other. After the opening (E), (E), (I), (I), every later step is “other”. Largest true gap in this range is 315 (Knuth). Typical gap over the Eggleton scale is .
So the CS recurrences almost never fire on the actual sequence. That does not let us drop from the majorant: the majorant is a worst-case envelope over every sequence obeying the CS lemmas, and the adversary may still take Type I / II / Eggleton whenever those lemmas allow. Proving they never fire again is essentially the linear-growth problem. Extra smaller matrices (Type IV etc.) also do not help the worst-case max. The only finite handle is a longer word-max, or a new lemma forbidding a positive-density set of words.
Agama arXiv:2007.02697v12 claims density zero via “circles of partition”. Not cited by Green (Dec 2025) or by Erdős #342 (accessed 2026-08-17, zero claimed proofs). We do not use it.
2026-08-17 — click: recompute CS , then extend
Implemented the three matrices exactly as in CS §2. Admissible language: with no consecutive s. Word count matches the recurrence (): , , .
Independent 2-norm max: , extremal word
231313113131313. This reproduces CS’s , which they rounded
to . Their printed “extremal word ” has
length 13 and is not the maximizer (its ); the
surrounding figure is the one that matches a full enumeration.
Eggleton root . Method barrier .
2026-08-17 — exact Frobenius certificate, record beaten
Frobenius norm is submultiplicative and with an integer sum of squares. Exhaustive max of that integer, over the whole admissible language, is a fully exact growth bound.
| words | beats | |||
|---|---|---|---|---|
| 15 | 3 799 168 | 75 172 | 1.453902232781 | yes (CS) |
| 16 | 10 379 520 | 150 408 | 1.451408682527 | yes |
| 20 | 578 272 256 | 2 417 294 | 1.444053344939 | yes |
| 21 | 1 579 869 184 | 4 845 788 | 1.442697712198 | yes |
| 22 | 4 316 282 880 | 9 690 750 | 1.441387826311 | yes |
already beats the published by an integer comparison . Independently re-enumerated in Python with the same word and the same .
Best run: , word 2313131131313131311313, ,
. Word-count matches .
Python recomputes the integer matrix of the winning word and the sum of
squares; it does not re-enumerate words (the
Python/C agreement audits the enumerator).
Unfolding the CS majorant from , :
- for every (direct integer check on a generated prefix through , plus the majorant for ).
- for every except (only failure in is ; majorant from ).
Published record beaten: Clément–Steinerberger, CR Math. 363 (2025), Theorem 1, for large . We do not claim that the natural density exists.
Replay: python3 compute/verify_all.py.
Certificates: compute/certificate_L16.json, certificate_L21.json,
certificate_L22.json, compute/bounds_table.json.
Figure: figures/cs_growth_constants.png.