Proof of a conjecture of Reznick on Stern's diatomic sequence modulo 22 and 27
Let $s$ be Stern's diatomic sequence and $T(N;d,i)=|\{n:0\le n<N,\ s(n)\equiv i\pmod d\}|$. We prove that $T(2^r;22,0)=T(2^r;27,0)$ for all $r\ge 0$, settling a conjecture of Reznick (2008). The proof encodes each pair $(s(n),s(n+1))$ modulo $d$ as a single code below $d^2$ and shows that one row operator step splits $T(2^r;d,0)$ into a sum over codes. For $d=22$ and $d=27$ the resulting sequences satisfy a common order $13$ recurrence, checked on finitely many explicit tables; their first $13$ values agree, so they agree for all $r$. The same method gives the equalities $T(2^r;4,0)=T(2^r;5,0)$ and $T(2^r;6,0)=T(2^r;9,0)=T(2^r;11,0)$, attributed by Reznick to an unpublished paper; all steps are formalized in Lean 4 and checked by the Lean kernel. Lean 4 formalization: https://github.com/wray-lee/oeis-conjectures-lean (Proofs/JIS_08_4_1.lean, Proofs/JIS_08_4_1_Companion.lean).
Authors
- Yufeng Liu (ORCID: https://orcid.org/0000-0002-1686-0545)
Publication Details
- Journal
- Zenodo (CERN European Organization for Nuclear Research)
- Published
- 2026-12-02
- DOI
- https://doi.org/10.5281/zenodo.24729082
- Primary Topic
- Advanced Combinatorial Mathematics
- Type
- preprint