Maths Olympiad Prep

Library / /41 of 115

Number theory Difficulty 7.1 National olympiad, round 2 Find the answer

( Ricky Liu ) Find all positive integers nn such that there are k2k\ge 2 positive rational numbers a1,a2,,aka_1, a_2, \ldots, a_k satisfying a1+a2++ak=a1a2ak=na_1 + a_2 + \cdots + a_k = a_1\cdot a_2\cdots a_k = n .

A number or a short expression. Spacing and $ signs are ignored.

Solution

Solution 1
First, consider composite numbers. We can then factor nn into p1p2.p_1p_2. It is easy to see that p1+p2np_1+p_2\le n , and thus, we can add (np1p2)(n-p_1-p_2) 1s in order to achieve a sum and product of nn . For p1+p2=np_1+p_2=n , which is only possible in one case, n=4n=4 , we consider p1=p2=2p_1=p_2=2 .
Secondly, let nn be a prime. Then we can find the following procedure: Let a1=n2,a2=4,a3=12a_1=\frac{n}{2}, a_2=4, a_3=\frac{1}{2} and let the rest of the aka_k be 1. The only numbers we now need to check are those such that n2+4+12>nn<9\frac{n}{2}+4+\frac{1}{2}>n\Longrightarrow n<9 . Thus, we need to check for n=1,2,3,5,7n=1,2,3,5,7 . One is included because it is neither prime nor composite.
For n=1n=1 , consider a1a2\hdotsak=1a_1a_2\hdots a_k=1 . Then by AM-GM, a1+a2+\hdots+akk1k>1a_1+a_2+\hdots+a_k\ge k\sqrt[k]{1}>1 for k2k\ge 2 . Thus, n=1n=1 is impossible.
If n=2n=2 , once again consider a1a2\hdotsak=2a_1a_2\hdots a_k=2 . Similar to the above, a1+a2+\hdotsk2k>2a_1+a_2+\hdots\ge k\sqrt[k]{2}>2 for k2k\ge 2 since 2k>1\sqrt[k]{2}>1 and k>2k>2 . Obviously, n=2n=2 is then impossible.
If n=3n=3 , let a1a2\hdotsak=3a_1a_2\hdots a_k=3 . Again, a1+a2+\hdotsk3k>3a_1+a_2+\hdots\ge k\sqrt[k]{3}>3 . This is obvious for k3k\ge 3 . Now consider k=2k=2 . Then 233.42\sqrt{3}\approx 3.4 is obviously greater than 33 . Thus, n=3n=3 is impossible.
If n=5n=5 , proceed as above and consider k=2k=2 . Then a1+a2=5a_1+a_2=5 and a1a2=5a_1a_2=5 . However, we then come to the quadratic a125a1+5=0a1=5±52a_1^2-5a_1+5=0 \Longrightarrow a_1=\frac{5\pm\sqrt{5}}{2} , which is not rational. For k=3k=3 and k=4k=4 we note that 53>53\sqrt[3]{5}>\frac{5}{3} and 54>54\sqrt[4]{5}>\frac{5}{4} . This is trivial to prove. If k5k\ge 5 , it is obviously impossible, and thus n=5n=5 does not work.
The last case, where n=7n=7 , is possible using the following three numbers. a1=92,a2=43,a3=76a_1=\frac{9}{2}, a_2=\frac{4}{3}, a_3=\frac{7}{6} shows that n=7n=7 is possible.
Hence, nn can be any positive integer greater than 33 with the exclusion of 55 .
Alternate solutions are always welcome. If you have a different, elegant solution to this problem, please add it to this page.

Want a route through all this instead of an archive? The track puts 2,000 problems in a working order, from AMC 10 level to the IMO shortlist.

Source: Omni-MATH, licensed Apache-2.0. Statement and solution reproduced as published; topic and difficulty added by this site.