MathLabs

Problem 1

Let a0<a1<a2<⋯a_0<a_1<a_2<\cdots be an infinite sequence of positive integers. Prove that there exists a unique integer n≥1n\ge1 such that an<a0+a1+⋯+ann≤an+1.a_n<\frac{a_0+a_1+\cdots+a_n}{n}\le a_{n+1}.
Step 1 of 5: Introduce the difference d_n
In plain words

Multiplying the target inequalities by nn turns them into statements about integers, which is easier to control than the fraction directly.

dn:=(a0+a1+⋯+an)−nand_n := (a_0+a_1+\cdots+a_n) - n a_n
Detailed analysis

For n≥1n\ge1 define dn=(a0+a1+⋯+an)−nand_n=(a_0+a_1+\cdots+a_n)-na_n, an integer since all aia_i are integers. The inequality an<a0+⋯+anna_n<\frac{a_0+\cdots+a_n}{n} is equivalent to nan<a0+⋯+anna_n<a_0+\cdots+a_n, i.e. dn>0d_n>0.