Mathematics Stack Exchange is a question and answer site for people studying math at any level and professionals in related fields. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

How to show that xyz is even( 2|xyz), when $x+y=z$? for example if x=5, y=12 then z=17. And $2\mid 5 \cdot 12 \cdot 17 $ <=> $2\mid 5 \cdot 2 \cdot 6 \cdot 17 $ ok.

One way to show that zyz is even is to make an array and use the knowledge that case $x \cdot y$ is odd and $z$ is odd never happens. Latter comes from the case that if x odd and y odd then $x\cdot y$ is odd. And if x even y odd or x even y odd then z odd. So here is contradiction, so z can never be odd. Am I right? $ \begin{array}{ c| c } * & z \quad \text{even} & z \quad \text{odd} \\\hline x \cdot y \quad \text{even} & even & even \\ x \cdot y \quad \text{odd} & even & odd \end{array} $

share|cite|improve this question
up vote 4 down vote accepted

Case(i): If $x, y$ are both even then $z$ is even so $xyz$ is even.

Case(ii): If $x, y$ are one odd on even then $z$ is odd then also $xyz$ is even

Case(iii): If $x, y$ are both odd then $z$ is even so $xyz$ is even

Note: It should be mentioned in the question that $x,y,z$ are integers.

share|cite|improve this answer

If either $x$ or $y$ are even, then the product will be even. If not, then $x$ and $y$ are both odd, so $z$ is even.

share|cite|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.