Let $n\geq 2$ be an integer. For each $k$-tuple of positive integers $a_1, a_2, \ldots, a_k$ such that $a_1+a_2+\cdots +a_k=n$, consider the sums $S_i=1+2+\ldots +a_i$ for $1\leq i\leq k$. Determine, in terms of $n$, the maximum possible value of the product $S_1S_2\cdots S_k$. Proposed by Misael Pelayo
Problem
Source: Mexico National Olympiad 2018 Problem 4
Tags: algebra, Inequality, maximum value, positive integers
07.11.2018 05:41
07.11.2018 08:04
plagueis wrote:
I think it should be less than or equal to 4. For example, the maximum product for n=7 is (1+2+3)(1+2+3+4)=60.
07.11.2018 09:54
Note that $S_{i}=\frac{a_{i}(a_{i}+1)}{2}$ therefore $max(\frac{\prod_{i=1}^ka_{i}(a_{i}+1)}{2^k})=M$ then we look for the maximum of the product of all the $a_{i}$ since if this is maximum it will also be the maximum of $a_{i}+1$ Using the hint Suppose exist any $a_{i}$ such that $a_{i}\geq4$ but $3(a_{i}-3) \geq a_{1}$ for all $a_{i}\geq\frac{9}{2}$, which is a contradiction. Therefore $a_{i}\leq4$ but if $a_{i}=4$ we could change it for two 2's therefore $a_{i}\leq3$ therefore all $a_ {i}$ are $2$ or $3$. if de maximum is when $a_{i}=3$ So $M=3^k2^k$ or $M=3^k$ and the maximum is when for all $i$ $a_i=3$ And $M=6^{\frac{n}{3}}$ the last argument does not convince me but I'm waiting for your opinion
08.11.2018 02:12
MiltonMath12 wrote: Note that $S_{i}=\frac{a_{i}(a_{i}+1)}{2}$ therefore $max(\frac{\prod_{i=1}^ka_{i}(a_{i}+1)}{2^k})=M$ then we look for the maximum of the product of all the $a_{i}$ since if this is maximum it will also be the maximum of $a_{i}+1$ Using the hint Suppose exist any $a_{i}$ such that $a_{i}\geq4$ but $3(a_{i}-3) \geq a_{1}$ for all $a_{i}\geq\frac{9}{2}$, which is a contradiction. Therefore $a_{i}\leq4$ but if $a_{i}=4$ we could change it for two 2's therefore $a_{i}\leq3$ therefore all $a_ {i}$ are $2$ or $3$. if de maximum is when $a_{i}=3$ So $M=3^k2^k$ or $M=3^k$ and the maximum is when for all $i$ $a_i=3$ And $M=6^{\frac{n}{3}}$ the last argument does not convince me but I'm waiting for your opinion Unfortunately most of this is incorrect. You said "then we look for the maximum of the product of all the $a_{i}$ since if this is maximum it will also be the maximum of $a_{i}+1$", but this is not always true. For example, for n=7, a_1=3, a_2=4 give us the maximum product of the S_i's (60) however this doesn't give us the maximum value of (a_1+1)...(a_k+1) (4*3*3=36>4*5=20). The idea of using small a_i's without that assumption does work but they have to be <=4 (check the corrected hint).
08.11.2018 02:54
GovernmentCheeseAhoy wrote: MiltonMath12 wrote: Note that $S_{i}=\frac{a_{i}(a_{i}+1)}{2}$ therefore $max(\frac{\prod_{i=1}^ka_{i}(a_{i}+1)}{2^k})=M$ then we look for the maximum of the product of all the $a_{i}$ since if this is maximum it will also be the maximum of $a_{i}+1$ Using the hint Suppose exist any $a_{i}$ such that $a_{i}\geq4$ but $3(a_{i}-3) \geq a_{1}$ for all $a_{i}\geq\frac{9}{2}$, which is a contradiction. Therefore $a_{i}\leq4$ but if $a_{i}=4$ we could change it for two 2's therefore $a_{i}\leq3$ therefore all $a_ {i}$ are $2$ or $3$. if de maximum is when $a_{i}=3$ So $M=3^k2^k$ or $M=3^k$ and the maximum is when for all $i$ $a_i=3$ And $M=6^{\frac{n}{3}}$ the last argument does not convince me but I'm waiting for your opinion Unfortunately most of this is incorrect. You said "then we look for the maximum of the product of all the $a_{i}$ since if this is maximum it will also be the maximum of $a_{i}+1$", but this is not always true. For example, for n=7, a_1=3, a_2=4 give us the maximum product of the S_i's (60) however this doesn't give us the maximum value of (a_1+1)...(a_k+1) (4*3*3=36>4*5=20). The idea of using small a_i's without that assumption does work but they have to be <=4 (check the corrected hint). Ammm if I understand your counterexample well are you using 4 * 3 * 3 but 4 + 3 + 3 is not 7, or am I misunderstanding it? And in no configuration of 4 * 3 * 3 the sum is 7
08.11.2018 03:38
@above By 4*3*3, i meant a_1=3, a_2=2, a_3=2.
08.11.2018 03:51
But your example is false given that by hint $a_ {i}\leq3$
08.11.2018 03:58
The hint was corrected. It's <=4
08.11.2018 04:02
But if some $a_ {i}$ is $4$ then we could exchange it for two $2's$
08.11.2018 04:11
Not really. As I said, that's assuming that maximizing the product of the a_i's also gives you the maximum value of the product of the S_i's, which is not always true. 60=(1+2+3)(1+2+3+4)>(1+2+3)(1+2)(1+2)=54.
08.11.2018 05:22
02.04.2020 07:38
I misunderstood the problem. I thought that $N$ and $K$ were fixed. But reading this now both the problem and the solution are clear. My question is, given $n$ and $k$ then the solution is $$ \left( \frac{n-m}{k} \right)^{k-m} \left( \frac{n+k-m}{k} \right)^{m} $$ ? Where $ m = n $ mod $k$. My idea was trying to make $ |a_ i - a_j| \leq 1 $. Is this correct? And if so, how to prove it?
18.06.2020 07:08
IWantToBeNutellaSomeday wrote: I misunderstood the problem. I thought that $N$ and $K$ were fixed. But reading this now both the problem and the solution are clear. My question is, given $n$ and $k$ then the solution is $$ \left( \frac{n-m}{k} \right)^{k-m} \left( \frac{n+k-m}{k} \right)^{m} $$ ? Where $ m = n $ mod $k$. My idea was trying to make $ |a_ i - a_j| \leq 1 $. Is this correct? And if so, how to prove it? Hi! Maybe a bit late but... Only $n$ is fixed, which means that your answer should not depend on $k$