Exam 5: Induction and Recursion
Exam 1: The Foundations: Logic and Proofs18 Questions
Exam 1: A: the Foundations: Logic and Proofs201 Questions
Exam 2: Basic Structures: Sets, Functions, Sequences, Sums, Matrices5 Questions
Exam 2: A: Basic Structures: Sets, Functions, Sequences, Sums, Matrices210 Questions
Exam 3: Algorithms8 Questions
Exam 3: A: Algorithms54 Questions
Exam 4: Number Theory and Cryptography10 Questions
Exam 4: A: Number Theory and Cryptography149 Questions
Exam 5: Induction and Recursion10 Questions
Exam 5: A: Induction and Recursion51 Questions
Exam 6: Counting14 Questions
Exam 6: A: Counting155 Questions
Exam 7: Discrete Probability9 Questions
Exam 7: A: Discrete Probability50 Questions
Exam 8: Advanced Counting Techniques16 Questions
Exam 8: A: Advanced Counting Techniques124 Questions
Exam 9: Relations13 Questions
Exam 9: A: Relations72 Questions
Exam 10: Graphs14 Questions
Exam 10: A: Graphs131 Questions
Exam 11: Trees13 Questions
Exam 11: A: Trees94 Questions
Exam 12: Boolean Algebra11 Questions
Exam 12: A: Boolean Algebra67 Questions
Exam 13: Modeling Computation14 Questions
Exam 13: A: Modeling Computation67 Questions
Exam 14: Mathematics Problem Set: Set Theory, Number Theory, Combinatorics, and Boolean Algebra29 Questions
Select questions type
Free
(Essay)
4.9/5
(42)
Correct Answer:
The basis step holds since . For the inductive step assume that . It follows that . This completes the proof.
Free
(Essay)
4.8/5
(34)
Correct Answer:
We can use the following recursive procedure. procedure nonnegative integer
if then return 3
else return
What is wrong with the following proof that every positive integer equals the next larger positive integer? "Proof." Let be the proposition that . Assume that is true, so that . Add 1 to both sides of this equation to obtain . Since this is the statement , it follows that is true for all positive integers .
Free
(Short Answer)
4.9/5
(42)
Correct Answer:
The error is that no basis step has been done.
Suppose that the only currency were 3-dollar bills and 10-dollar bills. Show that every amount greater than 17 dollars could be made from a combination of these bills.
(Essay)
4.8/5
(33)
Give a recursive algorithm for computing na using addition, where n is a positive integer and a is a real
(Essay)
4.7/5
(36)
Use mathematical induction to show that lines in the plane passing through the same point divide the plane into parts.
(Essay)
4.7/5
(27)
Filters
- Essay(0)
- Multiple Choice(0)
- Short Answer(0)
- True False(0)
- Matching(0)