If $x,y,z$ are three given positive integers such that they are never less than $1$(but can be equal to one) where $x+y+z=7$ ..... then prove that all the possible solutions of $x,y,z$ are contained in the set $(1,2,4)$ when no two values are same (of $x,y,z$ that is for example $1,3,3$ is not a solution because two values are equal)....
I solved this question by trial and error and in the process wrote all the possible values(which is indeed a very bad solution)..but still I solved this question but ...i got this question in combinatorics/Binomial theorem so I thought there must be some solution(probably related to these)... better than writing all the possibilities ...which I have not been able to get...any help is appreciated...
If no two values are the same, we can order them in increasing order. We also know that they are all positive integers. So we can say, without loss of generality, that
$$1\le x<y<z$$
Now let's look for solutions in increasing lexigraphical order: i.e. $(x_1,y_1,z_1)$ comes before $(x_2,y_x,z_2)$ iff $x_1<x_2$ or ($x_1=x_2$ and $y_1<y_2$) or ($x_1=x_2$ and $y_1=y_2$ and $z_1<z_2$).
The smallest possible value of $x$ is $1$, and then the smallest possible for $y$ is $2$. This makes $z=4$, which is the given answer.
The next smallest is $x=1,y=3$, but this makes $z=3$, and the values are not distinct. Increasing $y$ makes $z$ smaller, so we cannot have $x=1,y=3$.
The next smallest is $x=2$. That makes the smallest $y$ to be $3$, and thus $z$ is at most $2$--smaller than $y$ so not allowed. This will be the case for any larger values for $x,y$.
Thus there is only one solution for $1\le x<y<z$ and $x+y+z=7$.