Olympiad Problem 7

Algebra Level 5

{ k 1 + k 2 + + k n = 5 n 4 1 k 1 + 1 k 2 + + 1 k n = 1 \begin{cases} k_1 + k_2 + \cdots + k_n = 5n - 4 \\ \dfrac1{k_1} + \dfrac1{k_2} + \cdots + \dfrac1{k_n} = 1 \end{cases}

Let k 1 , k 2 , k 3 , , k n , n k_1, k_2, k_3, \ldots, k_n , n be all positive integers satisfying the system of equations above.

Find the sum of all distinct possible values of n + k 1 + k 2 + + k n n + k_1 + k_2 + \cdots + k_n .


The answer is 36.

This section requires Javascript.
You are seeing this because something didn't load right. We suggest you, (a) try refreshing the page, (b) enabling javascript if it is disabled on your browser and, finally, (c) loading the non-javascript version of this page . We're sorry about the hassle.

2 solutions

Joel Tan
Aug 25, 2014

By Cauchy-Schwarz inequality, the product of the first two equations is at least ( 1 + 1 + . . . + 1 ) 2 = n 2 (1+1+...+1)^{2}=n^{2}

Hence n 2 5 n + 4 n^{2}-5n+4 is less than 0. Solving the quadratic inequality, n n is between 1 and 4.

If n = 1 n=1 , then k 1 = 1 k_{1}=1

If n = 2 n=2 , then k 1 + k 2 = 6 k_{1}+k_{2}=6 . Trying all pairs (there are only 3), none work.

If n = 3 n=3 , then the sum of reciprocals of k 1 , k 2 , k 3 k_{1}, k_{2}, k_{3} is 1. Suppose, without loss of generality, that k 1 k_{1} is the least among these three numbers. Then suppose it is more than 3. The sum would be less than 1 3 × 3 = 1 \frac {1}{3} \times 3=1 . So it is 2 or 3. Checkig each case, (2, 3, 6), (2, 4, 4) and (3, 3, 3) are the only solutions (ignoring order) and only (2, 3, 6) is possible.

If k = 4 k=4 , it 5 n 4 = n 2 5n-4=n^{2} and it becomes the equality case of Cauchy-Schwarz inequality, hence all k i k_{i} , are equal. Hence (4, 4, 4, 4) is the only solution. Adding up all, the answer is 36.

(Actually the question is quite unclear as we don't know if order counts)

For case n = 3 n=3 it can also be solved in this way: k 1 + k 2 + k 3 = 11 k 1 k 2 k 3 ( k 1 k 2 + k 2 k 3 + k 1 k 3 ) = 0 k 1 k 2 k 3 ( k 1 k 2 + k 2 k 3 + k 1 k 3 ) + k 1 + k 2 + k 3 1 = 10 ( k 1 1 ) ( k 2 1 ) ( k 3 1 ) = 10 { k }_{ 1 }+{ k }_{ 2 }+{ k }_{ 3 }=11\\ { k }_{ 1 }{ k }_{ 2 }{ k }_{ 3 }-({ k }_{ 1 }{ k }_{ 2 }+{ k }_{ 2 }{ k }_{ 3 }+{ k }_{ 1 }{ k }_{ 3 })=0\\ { k }_{ 1 }{ k }_{ 2 }{ k }_{ 3 }-({ k }_{ 1 }{ k }_{ 2 }+{ k }_{ 2 }{ k }_{ 3 }+{ k }_{ 1 }{ k }_{ 3 })+{ k }_{ 1 }{ +k }_{ 2 }+{ k }_{ 3 }-1=10\\ ({ k }_{ 1 }-1)({ k }_{ 2 }-1)({ k }_{ 3 }-1)=10 From this it is easy to observe k 1 = 2 , k 2 = 3 a n d k 3 = 6 { k }_{ 1 }=2,\quad { k }_{ 2 }=3\quad and\quad { k }_{ 3 }=6

mietantei conan - 6 years, 9 months ago

@Kartik Sharma Stating that k i k_i are unordered is important. Otherwise, for n = 3 n=3 , we have other solutions like ( 2 , 3 , 6 ) , ( 6 , 3 , 2 ) (2, 3, 6), (6, 3, 2) .

Calvin Lin Staff - 6 years, 9 months ago

@Joel Tan You mean n = 4 n=4 instead of k = 4 k=4 .

Calvin Lin Staff - 6 years, 9 months ago

Take n=1, and k1=1 , then it also satisfies all the relations. So answer must be n+k1=2. Hence this is also one possible answer.

Ashutosh Saboo - 6 years, 8 months ago

So from what I understand, the Cauchy-Schwartz inequality says that for 2 vectors a,b, a(dot) b <= mag(a)mag(b). Defining a as <k1,k2,...,kn> and b as <1/k1, 1/k2,....,1/kn>, I can see how you would get (1+1+...1)^2 = n^2, but could you explain to me how mag(a)mag(b) is equal to the product of the 2 equations? Thanks.

yo ma - 6 years, 9 months ago

Log in to reply

The vectors he used are actually < k i > < \sqrt{k_i} > and < 1 k i > < \frac{1}{ \sqrt{k_i}} > . As such, this gives:

( 5 n 4 ) × 1 = ( k i ) ( 1 k i ) ( k i × 1 k i ) 2 = n 2 ( 5n - 4 ) \times 1 = ( \sum k_i ) ( \sum \frac{1}{k_i} ) \geq ( \sum \sqrt{ k_i \times \frac{1}{k_i} } ) ^2 = n^2

Calvin Lin Staff - 6 years, 9 months ago

I think you can get the same inequality using AM >= HM. However once we've calculated, I'm unable to understand how we get 36''

Tushar Gupta - 6 years, 9 months ago

Also shouldn't the answer be 28? (1 + 11 + 16). Thanks, and sorry for the stupid questions!

yo ma - 6 years, 9 months ago

Log in to reply

you also have to add the values of n.

mietantei conan - 6 years, 9 months ago
Andrea Palma
Mar 16, 2015

Titu's lemma on second equation gives

i = 1 n k i n 2 \sum_{i=1}^n k_i \geq n^2

so combining with the first equation we get

n 2 5 n + 4 0 n^2 -5n + 4 \leq 0

This means n { 1 , 2 , 3 , 4 } n \in \{1, 2, 3, 4\}

For n = 1 n = 1 we immediately get k 1 = 1 k_1 = 1 works as the unique solution so we have the integers n = 1 , k 1 = 1 n = 1, k_1 = 1 as first solutions.

For n = 2 n = 2 we search the solutions betweek the couple k 1 , k 2 k_1, k_2 that sums up to 6 6 .

Notice that 1 1 cannot belong to any k k otherwise we have the sum of the reciprocal is strictly greater than 1 1 .

Also we can optimize the checks noting that in a couple of solutions we have k m i n 3 k_{min} \leq 3 and k m a x 3 k_{max} \geq 3 .

So we have to check

k 1 = 2 , k 2 = 4 k_1 = 2, k_2 = 4 that fails

k 1 = 3 , k 2 = 3 k_1 = 3, k_2 = 3 that fails.

No set of solutions for the case n = 2 n = 2 .

For n = 3 n = 3 we search the solutions betweek the couple k 1 , k 2 , k 3 k_1, k_2, k_3 that sums up to 11 11 .

Notice that 1 1 cannot belong to any k k otherwise we have the sum of the reciprocal is strictly greater than 1 1 .

Also no two values of k k can be equal to 2 2 for the same reason.

Also we can optimize the checks noting that in a couple of solutions we have k m i n 3 k_{min} \leq 3 and k m a x 4 k_{max} \geq 4 .

So we have to check

k 1 = 2 , k 2 = 3 , k 3 = 6 k_1 = 2, k_2 = 3, k_3 = 6 that works

k 1 = 2 , k 2 = 4 , k 3 = 5 k_1 = 2, k_2 = 4, k_3 = 5 that fails

k 1 = 3 , k 2 = 3 , k 3 = 5 k_1 = 3, k_2 = 3, k_3 = 5 that fails

k 1 = 3 , k 2 = 4 , k 3 = 4 k_1 = 3, k_2 = 4, k_3 = 4 that fails.

So we discover the integers n = 3 , k 1 = 2 , k 2 = 3 , k 3 = 6 n = 3, k_1 =2, k_2 =3, k_3=6 as second set of solution

For n = 4 n = 4 we search the solutions betweek the couple k 1 , k 2 , k 3 , k 4 k_1, k_2, k_3, k_4 that sums up to 16 16 .

Notice that 1 1 cannot belong to any k k otherwise we have the sum of the reciprocal is strictly greater than 1 1 .

Also no two values of k k can be equal to 2 2 for the same reason.

Also no three values of k k can be equal to 3 3 for the same reason.

Also we can optimize the checks noting that in a couple of solutions we have k m i n 4 k_{min} \leq 4 and k m a x 4 k_{max} \geq 4 .

So we have to check

k 1 = 2 , k 2 = 3 , k 3 = 3 , k 4 = 8 k_1 = 2, k_2 =3 , k_3 =3 , k_4= 8 that fails

k 1 = 2 , k 2 = 3 , k 3 = 4 , k 4 = 7 k_1 = 2, k_2 = 3, k_3 = 4, k_4= 7 that fails

k 1 = 2 , k 2 = 3 , k 3 = 5 , k 4 = 6 k_1 = 2, k_2 = 3, k_3 = 5, k_4= 6 that fails

k 1 = 2 , k 2 = 4 , k 3 = 4 , k 4 = 6 k_1 = 2, k_2 = 4, k_3 = 4, k_4= 6 that fails

k 1 = 2 , k 2 = , 4 k 3 = 5 , k 4 = 5 k_1 = 2, k_2 = ,4 k_3 = 5, k_4= 5 that fails

k 1 = 3 , k 2 = 3 , k 3 = 4 , k 4 = 6 k_1 = 3, k_2 = 3, k_3 = 4, k_4= 6 that fails

k 1 = 3 , k 2 = 3 , k 3 = 5 , k 4 = 5 k_1 = 3, k_2 = 3, k_3 = 5, k_4= 5 that fails

k 1 = 3 , k 2 = 4 , k 3 = 4 , k 4 = 5 k_1 = 3, k_2 = 4, k_3 = 4, k_4= 5 that fails

k 1 = 4 , k 2 = 4 , k 3 = 4 , k 4 = 4 k_1 = 4, k_2 = 4, k_3 = 4, k_4= 4 that works.

So we discover the integers n = 4 , k 1 = 4 , k 2 = 4 , k 3 = 4 , k 4 = 4 n = 4, k_1 =4, k_2 =4, k_3=4, k_4=4 as a third and last set of solution.

Summing the sets of solutions we get the answer 36 36 .

0 pending reports

×

Problem Loading...

Note Loading...

Set Loading...