Panphobia
- 435
- 13
Homework Statement
Prove that for any integer n, if n^5 + 7 is even then n is odd.(I wasn't sure which section I was supposed to post this in)
The Attempt at a Solution
Ok so we just got into proofs in my math class and we are supposed to use proof by contraposition for this one. So I was thinking
p = n^5 + 7 is even
q = n is odd
so we have p → q, but we need to use ~q→~p, so prove that, "if n is even then n^5 + 7 is odd"? How would I even go about doing this? The professor didn't even show an example. I know how to do proof by contradiction/exhaustion/induction already, but this one has me kind of stumped.