Skip to main content
OlympiadHQ

Browse · MathNet

Print

Saudi Arabia Mathematical Competitions 2012

Saudi Arabia 2012 algebra

Problem

For any positive integer denote by the number of quadratic functions , , having only integer roots. Prove that for every ,
Solution
The equations , , and , , satisfy the property, hence . If is a quadratic function satisfying our property, then , where , and , . From the last condition it follows that We obtain It is easy to prove by induction that for every the following inequality holds: Moreover, . Replacing in (1), we get , , and the conclusion follows.

---

Alternative solution.

Write , with . We have , , and implies .

First we count the quadratics with root . If , then , so we have solutions. If , then , so we have solutions. ...... If , then , so we have solutions. Altogether, we have quadratics that have a root 1.

Let us now count the quadratics with both roots . We have . For any pair , we want to count how many choices of there are. The only condition is that , where , and (since we have already proved that ). Write the set of divisors of as The pairs are the solutions of . There are such pairs. Since these two pairs are not acceptable (we assumed ). Now, any two symmetric pairs yield a unique value of the sum , which gives a unique value of .

There is an even number of divisors of , unless is a square. So, if is not a square, we get different sum , with . If is a square, its pairs of divisors have different sums (disconsidering pairs that contain 1). A unified formula for these results is Now we have established that for each pair with , there exist quadratics which do not have a root 1, and for which .

Now we count the quadratics by taking the values of into account. For , we can choose hence we have quadratics. Generally, for , we can choose from the set hence we have quadratics. Altogether, we obtain the following exact formula for From (2) we obtain where is the well-known Euler's constant.

Techniques

Vieta's formulasSums and productsFloors and ceilingsτ (number of divisors)Factorization techniques