Warning: foreach() argument must be of type array|object, bool given in /var/www/html/web/app/themes/studypress-core-theme/template-parts/header/mobile-offcanvas.php on line 20

Chapter 5: Induction and Recursion

Q52E

Page 331

Suppose that m and n are positive integers with m>n and f is a function from {1, 2,..., m} to {1, 2,...,n}. Use mathematical induction on the variable n to show that f is not one-to-one.

Q52E

Page 371

Describe the quick sort algorithm using pseudocode.

Q53E

Page 360

Prove that A(m,n+1)>A(m,n)whenever m and n are nonnegative integers.

Q53E

Page 331

Use mathematical induction to show that n people can divide a cake (where each person gets one or more separate pieces of the cake) so that the cake is divided fairly, that is, in the sense that each person thinks he or she got at least (1n) th of the cake. [Hint: For the inductive step, take a fair division of the cake among the first k people, have each person divide their share into what this person thinks are k+1 equal portions, and then have the (k+1)st person select a portion from each of the k people. When showing this produces a fair division for k + 1 people, suppose that person k+1 thinks that person i got Pi of the cake where i=1kpi=1.]

Q53SE

Page 379

(a) Show that if \({a_1},{a_2},\, \cdots ,\,{a_n}\) are positive integers then\(gcd\left( {{a_1},{a_2},\, \cdots ,\,{a_{n - 1}},\,{a_n}} \right) = gcd\left( {{a_1},{a_2},\, \cdots {a_{n - 2}},\,gcd\left( {{a_{n - 1}},\,{a_n}} \right)} \right)\).

(b) Use part (a), together with the Euclidean algorithm, to develop a recursive algorithm for computing the greatest common divisor of a set of \(n\) positive integers.

Q54E

Page 360

Prove that A(m+1,n)A(m,n)whenever m and n are nonnegative integers.

Q54SE

Page 379

Describe a recursive algorithm for writing the greatest common divisor of \(n\) positive integers as a linear combination of these integers.

Q55E

Page 360

Prove that A(i,j)jwhenever i and j are nonnegative integers

Q56E

Page 360

Use mathematical induction to prove that a function F defined by specifying F (0) and a rule for obtaining F (n + 1) from F (n) is well defined.

Q57E

Page 360

Use strong induction to prove that a function F defined by specifying F (0) and a rule for obtaining F (n + 1) from the values F (k) for k = 0,1,2,......n is well defined.

Access millions of textbook solutions in one place

  • Access over 3 million high quality textbook solutions
  • Access our popular flashcard, quiz, mock-exam and notes features
  • Access our smart AI features to upgrade your learning
Get Vaia Premium now
Access millions of textbook solutions in one place

Recommended explanations on Math Textbooks