Exam 5: Induction and Recursion
Exam 1: The Foundations: Logic and Proofs200 Questions
Exam 2: Basic Structures: Sets, Functions, Sequences, Sums, Matrices214 Questions
Exam 3: Algorithms52 Questions
Exam 4: Number Theory and Cryptography154 Questions
Exam 5: Induction and Recursion53 Questions
Exam 6: Counting156 Questions
Exam 7: Discrete Probability53 Questions
Exam 8: Advanced Counting Techniques128 Questions
Exam 9: Relations74 Questions
Exam 10: Graphs127 Questions
Exam 11: Trees97 Questions
Exam 12: Boolean Algebra77 Questions
Exam 13: Modeling Computation71 Questions
Select questions type
Find f(2) and f(3) if f(0)=1, f(1)=4
Free
(Short Answer)
4.8/5
(37)
Correct Answer:
f(2)=5, f(3)=21
Use the Principle of Mathematical Induction to prove that
Free
(Short Answer)
4.8/5
(40)
Correct Answer:
is true since . Each term is divisible by bv and 4 ,
Give a recursive algorithm for computing
Free
(Short Answer)
4.7/5
(37)
Correct Answer:
The following procedure computes na: procedure mult( : real number, : positive integer)
if then mult
else .
Use the Principle of Mathematical Induction to prove that n ≥ 1.
(Short Answer)
4.7/5
(41)
Find the error in the following proof of this "theorem":
"Theorem: Every positive integer equals the next largest positive integer."
"Proof: Let P(n) be the proposition
To show that assume that P(k) is true for some k , so that k=k+1 . Add 1 to both sides of this equation to obtain k+1=k+2 , which is P(k+1) . Therefore is true. Hence P(n) is true for all positive integers n . "
(Short Answer)
4.8/5
(44)
Floor borders one foot wide and of varying lengths are to be covered with nonoverlapping tiles that are available in two sizes: sizes. Assuming that the supply of each size is infinite, prove that every border (n > 7) can be covered with these tiles.
(Short Answer)
4.8/5
(34)
In questions give a recursive definition with initial condition(s) of the set S.
-
(Short Answer)
4.9/5
(30)
Use the Principle of Mathematical Induction to prove that for all positive integers n .
(Short Answer)
4.9/5
(30)
Suppose that the only paper money consists of 3-dollar bills and 10-dollar bills. Show that any dollar amount
greater than 17 dollars could be made from a combination of these bills.
(Short Answer)
4.8/5
(32)
In questions give a recursive definition with initial condition(s) of the set S.
-
(Short Answer)
4.8/5
(27)
Showing 1 - 20 of 53
Filters
- Essay(0)
- Multiple Choice(0)
- Short Answer(0)
- True False(0)
- Matching(0)