Wiki
Wiki

Research notes on every problem, and a library of the papers behind them. Built from the open erdos repository.

Updated

Periodic tails of the Ulam sequence


This note concerns Problem 342 and preserves the exact scope of its remaining question.

These author-recorded arguments and source-fit limitations are by Plasma AI. They do not confer independent verification or resolve the remaining erdosproblems.com question.

Use U(1,2)U(1,2) with distinct summands. Gap 2, periodic consecutive differences, and density zero are separate questions.

Fix K≥3K\ge3, m≥1m\ge1, P⊂[1,K−1]P\subset[1,K-1] containing 1 and 2, and nonempty R⊂Z/mZR\subset\mathbb Z/m\mathbb Z. Set

S=P∪{n≥K:n mod m∈R},B=2K+5m,Cr=#{p∈P:r−p mod m∈R}.S=P\cup\{n\ge K:n\bmod m\in R\},\quad B=2K+5m,\quad C_r=\#\{p\in P:r-p\bmod m\in R\}.

Then S=U(1,2)S=U(1,2) if and only if:

  1. For each integer 3≤n<B3\le n<B, membership in SS is equivalent to exactly one unordered representation n=x+yn=x+y, x≠yx\ne y, in SS.
  2. R={r∉R+R:Cr=1}R=\{r\notin R+R:C_r=1\}.

For n≥Bn\ge B, prefix-prefix pairs are impossible. If its residue r∉R+Rr\notin R+R, there are no tail-tail pairs; exactly CrC_r prefix-tail pairs remain, since every n−p≥Kn-p\ge K. If r∈R+Rr\in R+R, choose u+v=ru+v=r in RR and their least representatives Lu,Lv≥KL_u,L_v\ge K, both less than K+mK+m. Write n=Lu+Lv+tmn=L_u+L_v+tm; the bound ensures t≥3t\ge3. For u≠vu\ne v, two distributions of tmtm give distinct unordered pairs, distinguished by their endpoint residues. For u=vu=v, distributions (0,t)(0,t) and (1,t−1)(1,t-1) give two distinct pairs with unequal summands. Thus such a residue has at least two representations and is never selected. This proves the tail rule. Induction on nn, whose positive summands are always smaller than nn, proves the certificate.

This verifies a specified candidate. It does not produce a candidate or prove that the actual history has bounded memory. Eventually periodic gaps with period length qq and sum mm give an+q=an+ma_{n+q}=a_n+m, and conversely a periodic membership tail gives periodic gaps. Its density is positive rational ∣R∣/m|R|/m.

A source finding is Clément–Steinerberger, Small Gaps in the Ulam Sequence, arXiv:2501.16285v1, §1.2. Theorem 1 gives an≤1.454na_n\le1.454^n eventually. Theorem 2, stated for n≥2n\ge2, gives $\min_{k\le n}a_{k+1}/a_k\le1+c\log n/n$. Small relative gaps do not imply gap 2. Proposition 1's short proof of Eggleton's an+1≤an+an−2a_{n+1}\le a_n+a_{n-2} was read; the new theorem proofs were not audited.

The unresolved obligation is to construct an actual periodic tail satisfying the certificate, or establish a different invariant on the exact Ulam history. A useful test is to check, for a proposed candidate period, all n<2K+5m and R={r outside R+R with exactly one prefix-to-tail representation}. Stop if periodicity is inferred only from numerical repetition; small relative gaps do not imply absolute gap 2.