Consider the following implication:
Let $x,y,z$ be integers. If exactly two of the three integers $x,y,z$ are even, then $3x + 5y + 7z$ is odd.
The contrapositive of the statement above would be:
Let $x,y,z$ be integers. If not ($3x + 5y + 7z$ is odd), then not (exactly two of the three integers $x,y,z$ are even).
I am under the impression that we can then ‘distribute’ the not like so:
Let $x,y,z$ be integers. If $3x + 5y + 7z$ is not odd, then exactly none, one, or all three of the three integers $x,y,z$ are even.
(we could replace ‘not odd‘ with ‘even’ as well.) If the aforementioned contrapositive is done incorrectly, please let me know.
One may mistake the contrapositive to instead be:
Let $x,y,z$ be integers. If $3x + 5y + 7z$ is not odd, then exactly two of the three integers $x,y,z$ are even.
In other words, we avoid the exactly two case. Now consider a different example:
Let $x,y,z$ be integers. If $xy + xz + yz$ is even, then at most one of $x,y,z$ is odd.
The contrapositive of this is:
Let $x,y,z$ be integers. If at least two of $x,y,z$ is odd, then $xy + xz + yz$ is odd.
But once again, one may mistake the contrapositive to instead be:
Let $x,y,z$ be integers. If at most one of $x,y,z$ is even, then $xy + xz + yz$ is odd.
Finally, my question is: How does one differentiate between the two examples? Intuitively, they seem counter-intuitive.
In case it may matter, I am not a native English speaker.