Direct Proof Discrete Math.Show that if n is an odd integer, then n 2 is...
Nathalie Fields
Answered
2022-07-17
Direct Proof Discrete Math. Show that if n is an odd integer, then is odd. Proof : Assume that n is an odd integer. This implies that there is some integer k such that . Then . Thus, is odd. Why does the solution assume n to be ? How do you know is odd based on ? I don't see how for n and 2(2k2+2k)+1 for means an odd integer. Some clarification would be helpful.
Answer & Explanation
iljovskint
Expert
2022-07-18Added 18 answers
Step 1 An integer m is odd if and only if it can be written as the sum of an even integer and 1, if and only if there exists an integer q such that . Step 2 In the proof, assumption that n is odd implies the existence of an integer k such that (that is the only if part of the lemma). As for , letting we have , from which it follows that n2 is odd (that is the if part of the lemma).
enmobladatn
Expert
2022-07-19Added 6 answers
Step 1 By definition: integer n is even iff there exists an integer k such that integer n is odd iff there exists an integer k such that Step 2 So in the first step we use the definition to go from n is odd to , and in the other step we again use the definition to go from to is odd.