Show that $n^2+n$ is even for all $n\in\mathbb{N}$ by contradiction.
My attempt: assume that $n^2+n$ is odd, then $n^2+n=2k+1$ for all $k\in\mathbb{N}$.
We have that $$n^2+n=2k+1 \Leftrightarrow \left(n+\frac{1}{2}\right)^2-\frac{1}{4}=2k+1\Leftrightarrow n=\sqrt{2k+\frac{5}{4}}-\frac{1}{2}.$$
Choosing $k=1$, we have that $n=\sqrt{2+\frac{5}{4}}-\frac{1}{2}\notin\mathbb{N}$, so we have a contradiction because $n^2+n=2k+1$ should be verified for all $n\in\mathbb{N}$ and for all $k\in\mathbb{N}$.
Is this correct or wrong? If wrong, can you tell me where and why? Thanks.
Other users have already pointed out your big mistake: you can’t say that $n^2+n=2k+1$ for all $\mathbf k$, since being odd only means that this is true for a specific $\mathbf k$. We can complete your proof as follows. If $n^2+n=2k+1$, by your same calculation, $$n=\sqrt{2k+\frac54}-\frac12=\frac12\left(\sqrt{8k+5}-1\right).$$ However, $8k+5$ isn’t a square for any $\mathbf k$ (as a square must give a remainder of $0$, $1$ or $4$ when divided by $8$), so that, even when assuming the original statement for a single $k$, we arrive at the contradiction that $n$ is irrational. $\blacksquare$