The first extra even term in an exceptional family of Ulam sequences
The fourth even member of the Ulam sequence with seeds \(4\) and \(v=2^{m+2}-1\) is \(4v^2+2v-4\) for every integer \(m\ge1\). An Ulam sequence starts with its two seeds and repeatedly appends the smallest integer greater than its current last term that has exactly one representation as a sum of two distinct earlier members. Put \(K=2^m\) and \(k=K-1\). Cassaigne and Finch asked whether the number of pairs of distinct indices carrying a 1 in their binary sequence can first return to one at \(n_0=32K^2\), after the cutoff \(20k+23\). For positive indices the sequence starts with \(y_j=0\) for \(1\le j<8K\) and \(y_{8K}=1\). For \(j>8K\), \(y_j=1\) exactly when one of \(y_{j-2},y_{j-4K-1},y_{j-8K}\) is 1. For a positive integer \(n\), the count of pairs \(p<q\) with \(p+q=n\) and \(y_p=y_q=1\) is \[R(n)=\sum_{p=1}^{\lfloor(n-1)/2\rfloor}y_p y_{n-p}. \] For every admissible \(m\) and every integer \(20k+23<n<n_0\), the count is zero or at least two. At \(n_0\) it is exactly one, with \(p=16K^2-4K\) and \(q=16K^2+4K\). The result is computer-assisted. Its finite-state check covers binary inputs of arbitrary length. Cassaigne and Finch, §6, Conjecture 6.1, pp. 59–60 The entries needed to compute \(R(n)\) for \(n\le n_0\) can also be read directly from the binary digits of their indices. For \(1\le j\le n_0\), write \(j+8K-1=16Kh+4c+s\), with integers \(h\ge0\), \(0\le c<4K\) and \(0\le s<4\). Let \(Z(x,t)\) hold when \(x\) and \(t\) are non-negative integers whose binary expansions have no common 1 digit. This is equivalent to \(\binom{x+t}{t}\) being odd for non-negative arguments. The block description, verified against the recurrence through \(n_0\), gives \(y_j=1\) exactly when a row meets all three conditions. \[\begin{array}{c|c|c} s & \text{Condition on }c & \text{Test}\\ \hline 0 & K\le c<3K & Z(c-K,h-1)\\ 0\text{ or }2 & 3K\le c<3K+h & Z(c-3K,h)\\ 1 & c<2K & Z(c,h-1)\\ 3 & h-1\le c\le2K-2 & Z(c+1,h-1)\\ 3 & 2K+h-1\le c\le4K-2 & Z(c-2K+1,h-1)\\ 3 & c=4K-1 & h=0 \end{array} \] The first three even members in the original sequence are \(4,2v+4,4v+4\). While these are the only even members, an odd candidate greater than the seed can enter through exactly one representation using an earlier odd member and one of those three evens. This gives the three lags in the recurrence under the correspondence \(j\mapsto 2j-12k-13\) for positive odd candidates. An even candidate \(e>4v+8\) therefore has \(R(e/2+12k+13)\) representations as a sum of two distinct odd members while the list of even members stays fixed. The only sum of two distinct known even members above \(4v+8\) is \(6v+8=(2v+4)+(4v+4)\). It also has the odd representation \((2v+1)+(4v+7)\), using members of the initial sequence. Thus the singleton at \(n_0\) gives the next even member at \(e=2n_0-24k-26=4v^2+2v-4\). The result leaves subsequent even members and eventual periodicity undetermined.
Authors
- Zixuan He
Institutions
- University of Glasgow (GB)
Publication Details
- Journal
- Zenodo (CERN European Organization for Nuclear Research)
- Published
- 2026-12-03
- DOI
- https://doi.org/10.5281/zenodo.24798750
- Primary Topic
- Analytic Number Theory Research
- Type
- preprint