-1

I've been trying to find a proof by contradiction that $$\forall n \in \mathbb{Z}(n^2-n \in \{\text{evens} \})$$ Every time I assume $n^2-n$ is odd, the only way I can seem to prove it is just going case by case (assume $n$ is even and show it's true, same with $n$ being odd). Is there a proof by contradiction of this theorem, such as assuming $n^2-n=2m+1$ then showing that $m=\frac{n^2-n-1}{2} \not\in \mathbb{Z}$?

Integreek
  • 8,530

1 Answers1

0

For some integer $n$ suppose $n^2-n$ is odd

$$n^2-n \equiv 1 \pmod2\iff n(n-1)\equiv1\pmod2$$

Let $m=n-1$. One of $m,n $ must be even, WLOG assume $m$ is even then $m=2k,k\in\mathbb{Z}$

$$n(n-1)=mn=2kn\equiv0\pmod2$$ Which contradicts the supposing argument so $n^2-n$ is even for $n\in\mathbb{Z}$

Antony Theo.
  • 4,716