Chapter 4: Problem 21
Use the well-ordering principle to prove that given any integer \(n \geq 1\), there exists an odd integer \(m\) and a nonnegative integer \(k\) such that \(n=2^{k} \cdot m\).
/*! This file is auto-generated */ .wp-block-button__link{color:#fff;background-color:#32373c;border-radius:9999px;box-shadow:none;text-decoration:none;padding:calc(.667em + 2px) calc(1.333em + 2px);font-size:1.125em}.wp-block-file__button{background:#32373c;color:#fff;text-decoration:none}
Learning Materials
Features
Discover
Chapter 4: Problem 21
Use the well-ordering principle to prove that given any integer \(n \geq 1\), there exists an odd integer \(m\) and a nonnegative integer \(k\) such that \(n=2^{k} \cdot m\).
All the tools & learning materials you need for study success - in one app.
Get started for free
For all integers \(n \geq 1\), $$ 1+6+11+16+\cdots+(5 n-4)=\frac{n(5 n-3)}{2} $$
Use repeated division by 2 to convert (by hand) the integers in \(63-65\) from base 10 to base 2 . $$ 90 $$
Compute the summations and products in 19-28 $$ \sum_{k=-1}^{1}\left(k^{2}+3\right) $$
It is a fact that every integer \(n \geq 1\) can be written in the form $$ c_{r} \cdot 3^{r}+c_{r-1} \cdot 3^{r-1}+\cdots+c_{2} \cdot 3^{2}+c_{1} \cdot 3+c_{0}, $$ where \(c_{r}=1\) or 2 and \(c_{i}=0,1\), or 2 for all integers \(i=0,1,2, \ldots, r-1\). Sketch a proof of this fact.
[Pre-condition: \(a=A\) and \(A\) is a positive integer.] while \((a>0)\) 1\. \(a:=a-2\) end while [Post-condition: \(a=0\) if \(A\) is even and \(a=-1\) if \(A\) is odd. ] loop invariant: \(I(n)\) is "both \(a\) and \(A\) are even integers or both are odd integers and \(a \geq-1 . "\)
What do you think about this solution?
We value your feedback to improve our textbook solutions.