Skip to main content
OlympiadHQ

Browse · MathNet

Print

IMO2024 Shortlisted Problems

2024 algebra

Problem

Let be a positive integer. Find the minimum possible value of where are nonnegative integers such that .
Solution
Answer: The minimum value is .

For a fixed , let denote the minimum possible value of . Consider the following variant: among all infinite sequences of nonnegative integers , only finitely many of which are nonzero, satisfying , let denote the minimum possible value of It is clear that . Conversely, it is easy to see that if a sequence achieves the minimum of , then and thus . In particular, .

Now, we hope to get an inductive formula for . Note that, in order to minimise for , we must have since the sequence () is nonincreasing. Note that the minimal value of over all infinite sequences of nonnegative integers with is exactly . As a result, for we have We now prove by induction. It is clear that . Assume that this has been proved for . Then, The product of two consecutive integers is always nonnegative, and it is zero precisely when is the even number in . Thus the minimum of the final expression in equation (1) is , so , completing the inductive proof.

---

Alternative solution.

Consider the following table of numbers, where the row and column indices start from , and for .
12345
1357911
12610141822
241220283644
382440567288
4164880112144176
Every number can be written uniquely as a product of a power of and an odd number so every positive integer appears exactly once in the table above. It is easy to see that numbers in each row and each column are strictly increasing. Since the sum of the first odd positive integers is , the sum of the first numbers in the row is , the term appearing in .

Thus, the sum can be interpreted as the result of taking a total of numbers from the first rows of the table such that we take the leftmost numbers from row (where ), and then computing the sum of these numbers. In particular, the minimum possible value of is the same as the sum of the smallest numbers in this table, since every row and every column of the table is strictly increasing.

Moreover, the smallest numbers, namely , appear in the first rows, so the minimum of is
Final answer
n(n+1)/2

Techniques

Combinatorial optimizationFactorization techniquesSums and productsGames / greedy algorithms