Ulam sequences of positive upper density have a hidden frequency on average

Steinerberger observed a hidden frequency in the Ulam sequence U(1,2): at one real α, cos(α aₙ) < 0 for all but four of its first 10⁷ terms. We prove that such a frequency is forced, on average, in every Ulam sequence of positive upper density d: it has one fixed frequency θ ∉ ℤ such that, for every t < d/(1 − d), the mean of cos(2πaθ) over its terms a ≤ N is at most −t for infinitely many N. We do not know whether U(1,2) has positive upper density, nor do we show that θ is the frequency observed. The proof uses one consequence of Ulam's rule: all but finitely many terms have at most one representation as a sum of two distinct terms. It therefore applies to every set of positive integers of positive upper density in which all but finitely many elements have at most s such representations. Such a set's overlaps with its shifts by its own elements have a finite sum, and this forces the measure on the circle whose Fourier coefficients are its two-point correlations along suitable cutoffs to carry, in atoms off zero, at least the mass of its atom at zero; θ is one of these atoms. Element by element, finitely many of these atoms give a negative cosine to every element outside a set of density zero fixed by the measure, with finitely many exceptions, each the smaller summand of a positive share of the elements at those cutoffs. In general, the argument can say neither how many frequencies are needed nor that all large N work: we construct sum-free sets on which no single frequency suffices, for every K one on which no K atoms suffice, and one on which 'infinitely many N' cannot become 'all large N'. On forty-eight Ulam sequences U(a,b) with a, b odd, coprime and 9 ≤ a < b ≤ 30, computed up to 10⁸, every member except four has a negative cosine at one of two measured spectral lines of its sequence. How the note was made. The starting idea is the author's; he chose the results to pursue, asked one of the questions answered, agreed the claims and their limits, and edited the text. The results, proofs, programs and text were produced by Anthropic's Claude models (Claude Opus 5.5, Claude Fable 5.1 and 5.2, and Claude Sonnet 5.5 for mechanical tasks) under his direction, and the proofs were checked step by step by separate model sessions; the section 'Use of AI tools' of the note states this in full. No AI tool is an author. Source, figures, the code for the computations of Section 4 and the output of the script that recomputes the printed numbers: https://github.com/whyitholds/ulam-hidden-frequency (public since 3 December 2026).

Authors

Publication Details

Journal
Zenodo (CERN European Organization for Nuclear Research)
Published
2026-12-03
DOI
https://doi.org/10.5281/zenodo.24785294
Primary Topic
Analytic Number Theory Research
Type
preprint
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
NOV
preprint

Ulam sequences of positive upper density have a hidden frequency on average

Andrei Shostka
Zenodo (CERN European Organization for Nuclear Research)
Analytic Number Theory Research
preprint

Ulam sequences of positive upper density have a hidden frequency on average

Andrei Shostka
preprint en

Abstract

Steinerberger observed a hidden frequency in the Ulam sequence U(1,2): at one real α, cos(α aₙ) < 0 for all but four of its first 10⁷ terms. We prove that such a frequency is forced, on average, in every Ulam sequence of positive upper density d: it has one fixed frequency θ ∉ ℤ such that, for every t < d/(1 − d), the mean of cos(2πaθ) over its terms a ≤ N is at most −t for infinitely many N. We do not know whether U(1,2) has positive upper density, nor do we show that θ is the frequency observed. The proof uses one consequence of Ulam's rule: all but finitely many terms have at most one representation as a sum of two distinct terms. It therefore applies to every set of positive integers of positive upper density in which all but finitely many elements have at most s such representations. Such a set's overlaps with its shifts by its own elements have a finite sum, and this forces the measure on the circle whose Fourier coefficients are its two-point correlations along suitable cutoffs to carry, in atoms off zero, at least the mass of its atom at zero; θ is one of these atoms. Element by element, finitely many of these atoms give a negative cosine to every element outside a set of density zero fixed by the measure, with finitely many exceptions, each the smaller summand of a positive share of the elements at those cutoffs. In general, the argument can say neither how many frequencies are needed nor that all large N work: we construct sum-free sets on which no single frequency suffices, for every K one on which no K atoms suffice, and one on which 'infinitely many N' cannot become 'all large N'. On forty-eight Ulam sequences U(a,b) with a, b odd, coprime and 9 ≤ a < b ≤ 30, computed up to 10⁸, every member except four has a negative cosine at one of two measured spectral lines of its sequence. How the note was made. The starting idea is the author's; he chose the results to pursue, asked one of the questions answered, agreed the claims and their limits, and edited the text. The results, proofs, programs and text were produced by Anthropic's Claude models (Claude Opus 5.5, Claude Fable 5.1 and 5.2, and Claude Sonnet 5.5 for mechanical tasks) under his direction, and the proofs were checked step by step by separate model sessions; the section 'Use of AI tools' of the note states this in full. No AI tool is an author. Source, figures, the code for the computations of Section 4 and the output of the script that recomputes the printed numbers: https://github.com/whyitholds/ulam-hidden-frequency (public since 3 December 2026).

Zenodo (CERN European Organization for Nuclear Research)
Analytic Number Theory Research
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

Laika access coming soon