Ivan Vorontsov · Mathematics
Short proofs · Issue 01

Short Proofs

A separate shelf for mathematical problems that do not need a two-hundred-page manuscript. Each entry states its assumptions, gives the proof, and marks the precise limits of the conclusion.

2 MathOverflow problems2 detailed proofsSources checked: 24 November 2026
Proof No. 01 · Real analysis

Irrationally Bounded Sums

An entire interval of witnesses
Original question: MathOverflow #515199. Asked by Dattier on 13 September 2026. At the time checked, the page showed 5 votes and no posted answer. The note about the symbol \(E\) refers to the French expression partie entière.

Problem

Let \((u_k)_{k\in\mathbb N}\) be any real sequence satisfying \(|u_k|\le1\) for every \(k\). Does there always exist an irrational number \(x\in[1,2]\) such that, for every \(n\in\mathbb N\),

\[ \left|\sum_{k=1}^{10^n}u_k-u_{\lfloor x\,10^n\rfloor}\right|\le10^n-1? \]

Here \(\lfloor y\rfloor\) denotes the floor function. If the convention is \(0\in\mathbb N\), the case \(n=0\) is checked at the end.

Theorem. The answer is yes. In fact, for every admissible sequence there is an integer \(M\ge1\) such that the inequality holds simultaneously for every \(x\) in the nonempty interval \((1,1+10^{-M})\). Thus there are uncountably many suitable irrational numbers, not merely one specially chosen witness.

Proof

For \(n\ge1\), put

\[ S_n=\sum_{k=1}^{10^n}u_k,\qquad \delta_n^+=\sum_{k=1}^{10^n}(1-u_k)=10^n-S_n, \] \[ \delta_n^-=\sum_{k=1}^{10^n}(1+u_k)=10^n+S_n. \]

Since \(-1\le u_k\le1\), both deficit sequences are nonnegative and nondecreasing. Also,

\[\delta_n^++\delta_n^-=2\cdot10^n\ge20.\]

Case 1. Both deficits are at least 2 for every \(n\ge1\)

Then \(-10^n+2\le S_n\le10^n-2\), so \(|S_n|\le10^n-2\). For every index \(m\ge1\),

\[ |S_n-u_m|\le|S_n|+|u_m| \le(10^n-2)+1=10^n-1. \]

Thus every \(x\in(1,2)\) works. In particular, we may take \(M=1\), and \(x=\sqrt2\) is one possible irrational witness.

Case 2. At least one deficit is below 2 at some index

Replacing the entire sequence by \((-u_k)\), if necessary, does not change the absolute value in the problem. We may therefore assume that for some \(n_0\ge1\),

\[\delta_{n_0}^+<2.\]

We first show that \(\delta_n^->18\) for every \(n\ge1\). If \(n\le n_0\), monotonicity gives \(\delta_n^+\le\delta_{n_0}^+<2\), hence

\[\delta_n^-=2\cdot10^n-\delta_n^+>20-2=18.\]

If \(n>n_0\), monotonicity of \(\delta_n^-\) gives \(\delta_n^-\ge\delta_{n_0}^->18\). Consequently, for every \(m\ge1\),

\[ S_n-u_m=\delta_n^- -10^n-u_m >18-10^n-1>-10^n+1. \]

The lower bound required by the absolute-value inequality is therefore automatic. It remains to prove \(S_n-u_m\le10^n-1\).

Set \(v_k=1-u_k\in[0,2]\). Since \(\delta_n^+=\sum_{k=1}^{10^n}v_k\), the remaining upper bound is equivalent to

\[v_m\le\delta_n^+,\qquad m=\lfloor x\,10^n\rfloor.\]

Let

\[L=\sum_{k=1}^{\infty}v_k\in[0,+\infty].\]
  • If \(L=0\), then every \(v_k=0\), and any \(x\in(1,2)\) works. Take \(M=1\).
  • If \(0<L<+\infty\), choose \(M\ge1\) such that \(\delta_M^+> L/2\).
  • If \(L=+\infty\), choose \(M\ge1\) such that \(\delta_M^+\ge2\).

Now choose any \(x\in(1,1+10^{-M})\), and write \(m_n=\lfloor x\,10^n\rfloor\).

For \(1\le n\le M\):

\[ 10^n<x\,10^n<10^n+10^{n-M}\le10^n+1, \]

so \(m_n=10^n\). Thus \(v_{m_n}\) is one of the nonnegative terms in \(\delta_n^+\), and \(v_{m_n}\le\delta_n^+\).

For \(n>M\): since \(x>1\),

\[ m_n=\lfloor x\,10^n\rfloor\ge10^n\ge10^{M+1}>10^M. \]

If \(L<+\infty\), then \(v_{m_n}\) belongs to the tail after \(10^M\), and therefore

\[ v_{m_n}\le\sum_{k>10^M}v_k =L-\delta_M^+<\frac L2<\delta_M^+\le\delta_n^+. \]

If \(L=+\infty\), then \(v_{m_n}\le2\le\delta_M^+\le\delta_n^+\). This proves the upper bound for every \(n\).

In Case 2, every \(x\in(1,1+10^{-M})\) works. An explicit irrational choice is

\[x=1+\frac{\sqrt2}{10^{M+1}}.\]

Finally, if \(0\in\mathbb N\), then for \(n=0\) and \(x\in(1,2)\) we have \(\lfloor x\rfloor=1\), so the left-hand side is \(|u_1-u_1|=0=10^0-1\). This completes the proof. \(\square\)

What is stronger than the original claim? We obtain an entire interval of suitable real numbers. Irrationality is only selected at the final step; it is not the difficult part of the argument.
Proof No. 02 · Coding theory

Even Moduli and Binary [9,4] Codes

Exact result under stated filling rules
Original question: MathOverflow #518117. Asked on 23 November 2026. The page showed 2 votes and no posted answer when checked. The numerical frequencies below are the experiment reported in the question, not a new independent computation in this note.

Setup

Let \(m\ge2\), choose \((x_1,x_2)\in\mathbb Z_m^2\), and generate a second-order recurrence

\[x_{t+1}\equiv x_{t-1}-x_t^2\pmod m.\]

Take the canonical integer representatives \(x_t\in\{0,\ldots,m-1\}\), set \(b_t=x_t\bmod2\in\mathbb F_2\), fill a parity block \(P\in\mathbb F_2^{4\times5}\), and form the systematic generator matrix

\[G=[\,I_4\mid P\,].\]

Write \(d_{\min}(C)\) for the minimum Hamming distance of the code. The binary Griesmer bound gives \(d_{\min}\le4\) for a code of length 9 and dimension 4: \(4+2+1+1=8\le9\), whereas \(5+3+2+1=11>9\).

Theorem for standard fillings. If \(m\) is even, then:
  • if \((x_1,x_2)=(0,0)\), then \(d_{\min}(C)=1\);
  • for every nonzero initial pair, \(d_{\min}(C)=2\).
In particular, under these filling rules an even modulus cannot produce minimum distance 3 or 4.

Step 1. Reduction modulo 2 and period 3

For even \(m\), parity is well-defined on residue classes modulo \(m\): adding a multiple of \(m\) does not change parity. The recurrence therefore reduces in \(\mathbb F_2\) to

\[b_{t+1}=b_{t-1}-b_t^2=b_{t-1}+b_t,\]

because \(b_t^2=b_t\) and \(-1=1\) in \(\mathbb F_2\). Hence

\[b_{t+2}=b_t+b_{t+1}=b_{t-1},\qquad b_{t+3}=b_t.\]

The sequence has period dividing 3. If the initial pair is zero, the sequence is identically zero. Otherwise it is a cyclic shift of one of \(110110\ldots\), \(101101\ldots\), or \(011011\ldots\).

Step 2. Standard row-wise and column-wise fillings

For row-wise filling, define

\[P_{i,j}=b_{5(i-1)+j}.\]

The indices used by the first and fourth rows differ by 15, a multiple of 3. Thus \(P_{1,*}=P_{4,*}\).

For column-wise filling, define

\[P_{i,j}=b_{4(j-1)+i}.\]

The corresponding indices in the first and fourth rows differ by 3, so again \(P_{1,*}=P_{4,*}\).

In either case, adding the first and fourth rows of \(G\) gives the nonzero codeword

\[ (e_1+e_4)G=(e_1+e_4\mid P_{1,*}+P_{4,*}) =(e_1+e_4\mid0), \]

whose weight is exactly 2. Therefore \(d_{\min}(C)\le2\).

If the initial pair is nonzero, each row of \(P\) contains five consecutive terms of a nonzero period-3 pattern. In the column-wise case the stride is \(4\equiv1\pmod3\). Every such block has Hamming weight 3 or 4, so no row of \(P\) is zero. A weight-1 word in a systematic code \(G=[I_4\mid P]\) would have to be a row of \(G\) whose parity part is zero. Hence no such word exists, and \(d_{\min}(C)\ge2\). We conclude \(d_{\min}(C)=2\).

If the initial pair is zero, then \(P=0\), so \(G=[I_4\mid0]\) and the code contains a word of weight 1. Thus \(d_{\min}(C)=1\).

Strengthening: a rank barrier for every fixed stride. Suppose the rows of \(P\) are sampled along arithmetic progressions with one common stride \(\Delta\): \[ P_{i,j}=b_{a_i+(j-1)\Delta}, \] where the starting indices \(a_i\) may differ. Then for every even \(m\) and every initial pair, \(d_{\min}(C)\le2\). This includes the standard row-wise and column-wise fillings.

Step 3. Rank proof of the strengthened barrier

If \(3\mid\Delta\), every row of \(P\) is constant, since the underlying sequence has period 3. Hence all rows lie in the span of \((1,1,1,1,1)\), and \(\operatorname{rank}(P)\le1\).

If \(3\nmid\Delta\), every row \(v=(v_1,\ldots,v_5)\) satisfies

\[v_j+v_{j+1}+v_{j+2}=0,\qquad j=1,2,3.\]

These are three independent linear constraints on five coordinates, so their solution space has dimension 2. Thus \(\operatorname{rank}(P)\le2\) in either case.

Consider the left kernel

\[W=\{u\in\mathbb F_2^4:uP=0\}.\]

By rank-nullity, \(\dim W=4-\operatorname{rank}(P)\ge2\). Choose a two-dimensional subspace \(W_0\subseteq W\). Its three nonzero vectors \(u_1,u_2,u_3\) satisfy \(u_1+u_2+u_3=0\).

In each coordinate, the triple \((u_{1,i},u_{2,i},u_{3,i})\) has an even number of ones, hence either zero or two. Therefore

\[ \operatorname{wt}(u_1)+\operatorname{wt}(u_2)+\operatorname{wt}(u_3)\le2\cdot4=8. \]

At least one \(u_r\) has weight at most 2. Since \(u_rP=0\), the corresponding codeword is

\[u_rG=(u_r\mid u_rP)=(u_r\mid0),\]

and has weight at most 2. Consequently \(d_{\min}(C)\le2\). \(\square\)

Step 4. What changes for odd moduli?

For canonical representatives \(x_t\in\{0,\ldots,m-1\}\), there is an integer \(q_t\) such that

\[x_{t+1}=x_{t-1}-x_t^2+q_tm.\]

Reducing this equality modulo 2 gives

\[b_{t+1}=b_{t-1}+b_t+q_t(m\bmod2)\quad\text{in }\mathbb F_2.\]

For even \(m\), the extra term vanishes and period 3 is forced. For odd \(m\), the term \(q_t\) can affect the parity of the next entry; reduction of parity is no longer a well-defined ring homomorphism from \(\mathbb Z/m\mathbb Z\) to \(\mathbb F_2\). Therefore the same period-3 rank obstruction no longer follows.

Limit of the conclusion. This explains why the even-modulus argument breaks down for odd moduli. It does not prove that \(\operatorname{rank}(P)\) reaches 3 or 4, nor that \(d_{\min}=4\) for every odd \(m\). The reported frequencies — 99 of 100 primes and 32 of 100 composites reaching \(d_{\min}=4\) — are experiments described in the original MathOverflow question, not a universal theorem established here.
Filling-rule caveat. The exact values \(d_{\min}=1\) or \(2\) are proved for the explicitly defined row-wise and column-wise fillings. The stronger bound \(d_{\min}\le2\) is proved for any common fixed stride \(\Delta\) along the rows. These claims do not automatically cover an arbitrary permutation of the 20 entries without such a rule.

How to read this collection

The notes distinguish three levels: theorems proved under stated assumptions, computational observations reported by the original authors, and explanatory mechanisms that do not yet establish a universal conclusion. Publication here does not mean that a solution has been accepted by the MathOverflow community or independently peer-reviewed.

When suggesting corrections, preserve the exact problem statement and specify the indexing or construction rule being used. In mathematics, one omitted indexing convention can be more dangerous than an entire dragon.