Generating key points…
Answers are grounded in this paper and cite their sources.
How often does van Doorn's binary recurrence visit an individual residue modulo \(32\)? For \(a_1=1\) and \(a_n=aₙ₋₁+an/2\) for integers \(n≥2\), the paper proves that every odd class and every class congruent to \(2\) modulo \(4\) has the same natural density. For every residue \(x\) modulo \(32\), \[limN→∞1N#\{1≤ n≤ N:a_n≡ x{32}\}={cases}0,&4 x,\\1/24,&4 x.{cases}\] The limit runs over all positive integer prefix lengths. The recurrence gives \((1-z)A(z)=z+(1+z)A(z^2)\) for \(A(z)=∑n≥1a_nz^n\). Working over \(R= Z/32 Z\), a state \((p,q)\) represents \((p(z)A(z)+q(z))/(1-z)^5\), with \(p,q∈ R[z]\) of degree at most five, allowing zero. Start at \(((1-z)^5,0)\) and read the bits of \(n\) from least to most significant. For \(b∈\{0,1\}\), let \(S_b(∑j≥0f_jz^j)=∑j≥0f2j+bz^j\). The transition replaces \(p,q\) by \[p'=S_b[p(1+z)^7]/1-z, q'=S_b[zp(1+z)^6+q(1-z)(1+z)^6]/1-z.\] These are polynomial divisions in \(R[z]\), and the output \(o(p,q)=q(0)\) returns \(a_n32\). In the resulting 60-state machine, independent fair low bits give a limiting state law \(π\). For every finite high-bit word \(w\), the transition \(T_w\) preserves its output distribution, \((o∘ T_w)_*π=o_*π\), where the star denotes pushforward. The four closed classes yield the claimed frequencies, and histogram invariance gives uniform error over aligned binary blocks. Decomposing an arbitrary prefix into such blocks yields the full limit. The identity \(a_n=b(2n)/2\) for \(n≥1\), where \(b(m)\) counts partitions of \(m\) into powers of two, also makes these densities frequencies of the classes \(b(2n)≡2x{64}\). Van Doorn, §§4 and 6, question on odd residues modulo 32. For \(a_1=1\) and \(a_n=aₙ₋₁+an/2\) for integers \(n≥2\), does \(\{n≥1:a_n≡ x{32}\}\) have a natural density for every odd residue \(x\), and what is that density? Each of the sixteen odd classes has density \(1/24\) over all positive integer prefix lengths. The theorem also gives density \(1/24\) for the eight classes congruent to \(2\) modulo \(4\) and zero for the eight multiples of four.
No takes yet. Share an insight, caveat, or question.
Zixuan He (2026) studied this question.
Synapse has enriched 8 closely related papers on similar clinical questions. Consider them for comparative context: