TITLE: Let k be an integer. Disprove: “The equation $x^2 − x − k = 0$ has no integer solution if and only if $k$ is odd.”
QUESTION [9 upvotes]: My problem is I keep ending up proving the statement true, instead of disproving it. I was getting it mixed up in my mind so I broke it down into very explicit steps but now I'm wondering if I'm overthinking it?
I started out proving that if there is no integer solution, then k is even (one negation of the statement, $P$ and not $Q$ where $P = \text{ no integer solution and } Q = k \text{ is odd}$). By contrapositive I try to prove that if $k$ is odd then there is an integer solution (I quickly recognized this is the same as the other negation, $Q$ and not $P$, so this is the only thing I need to prove). 
So $k = 2n + 1$ for any integer $n$. Then $x^2-x -(2n+1) = 0$. So $x^2-x=2n+1$. But if $x$ is an integer then $x^2-x$ must always be even, and cannot equal an odd integer $2n+1$. So this has led to a contradiction, which means I just proved that if k is odd then there is no integer solution. 
Is my logic off somewhere, or should I be approaching it differently? Sorry if this has an obvious answer, I only started doing proofs this quarter. Thanks

REPLY [4 votes]: Lets assume that equation has integer solutions, so $ x \in Z $ 
$x^2-x = k$
$x (x-1) = k$
$x-1$  and $x$ are two consecutive integer numbers, their product is even $\Rightarrow k$ is even