DR.WANG Mathematics中文

BMO2 · 2025/26 · 2026-01-21 · Question 4

Sequences & series · Sequences

Problem outline

Fix a positive integer NN and any sequence kn∈{1,…,N}k_n\in\{1,\ldots,N\}. Choose x1,…,xNx_1,\ldots,x_N to be arbitrary integers. For n>Nn>N make xnx_n the sum of the immediately preceding knk_n terms. Prove that either the set of indices with xn>0x_n>0 is finite or the set with xn<0x_n<0 is finite.

Show answer and methods 1 methods

Answer

The sequence is eventually nonnegative or eventually nonpositive; an eventually zero sequence satisfies both alternatives.

Method 1 Track a rolling extremum of the partial sums

Put S0=0S_0=0 and Sn=x1+⋯+xnS_n=x_1+\cdots+x_n. For n>Nn>N, the sum defining xnx_n telescopes to Sn−1−Sn−kn−1S_{n-1}-S_{n-k_n-1}. Hence Sn=2Sn−1−Sn−kn−1S_n=2S_{n-1}-S_{n-k_n-1}.

Suppose t≥Nt\ge N and StS_t is at least every one of St−N,…,St−1S_{t-N},\ldots,S_{t-1}. The index t−kt+1t-k_{t+1} lies in this window, so St+1−St=St−St−kt+1≥0S_{t+1}-S_t=S_t-S_{t-k_{t+1}}\ge0. Consequently St+1S_{t+1} is also at least the preceding NN values. Induction shows every later xnx_n is nonnegative. Reversing the inequalities shows that a window minimum yields only nonpositive terms thereafter.

Let mm and MM be the minimum and maximum of S0,…,SNS_0,\ldots,S_N. If a later partial sum ever leaves [m,M][m,M], take the first one that does. It exceeds all earlier values or is below all earlier values. In either case the window argument applies.

Otherwise all partial sums stay in [m,M][m,M]. They are integers, so only finitely many values are available. Let HH be the largest value that occurs infinitely often. Every value above HH disappears after some finite index, and there are only finitely many such values. Choose an occurrence St=HS_t=H with t≥Nt\ge N so late that none of the preceding NN values exceeds HH. This is a window maximum, and hence all subsequent terms are nonnegative. The two cases cover every sequence.

Source and attribution

The outline and worked methods on this page were prepared for DR.WANG Mathematics.

Original question (external)