Suppose, for a proof by contradiction, that an integer is both an even number and an odd number. Then and for some integers . Subtracting yields . The left side is an integer, while is not. This contradiction proves that no integer is both even and odd.
The contrapositive is that an integer perfect square has residue or modulo . Let for an integer . If is an even number, then . If is an odd number, then . These exhaust the possible parities of an integer. Thus a residue of or excludes being a perfect square, as required by the contrapositive.
Articles by others on the same topic
There are currently no matching articles.