Chapter 8: Q8E (page 535)
Suppose that when is an even positive integer, and . Find
a)
b).
c).
d).
Short Answer
The answers are given below:
(a)
(b)
(c)
(d)
Chapter 8: Q8E (page 535)
Suppose that when is an even positive integer, and . Find
a)
b).
c).
d).
The answers are given below:
(a)
(b)
(c)
(d)
All the tools & learning materials you need for study success - in one app.
Get started for freeUse pseudocode to describe the recursive algorithm for solving the closest-pair problem as described in Example 12.
Let denote the length of a longest common subsequence ofand, whereand.
Use partsof Exercise 15to show thatsatisfies the recurrence relation,
If both andare nonzero and,
and
If both andare nonzero and, and the initial condition,
If
or
.
Use generating functions to find the number of ways to make change for \(100 using
a) \)10, \(20, and \)50 bills.
b) \(5, \)10, \(20, and \)50 bills.
c) \(5, \)10, \(20, and \)50 bills if at least one bill of each denomination is used.
d) \(5, \)10, and $20 bills if at least one and no more than four of each denomination is used.
Find a closed form for the generating function for each of these sequences. (Assume a general form for the terms of the sequence, using the most obvious choice of such a sequence.)
a) \( - 1, - 1, - 1, - 1, - 1, - 1, - 1,0,0,0,0,0,0, \ldots \)
b) \(1,3,9,27,81,243,729, \ldots \)
c) \(0,0,3, - 3,3, - 3,3, - 3, \ldots \)
d) \(1,2,1,1,1,1,1,1,1, \ldots \)
e) \(\left( {\begin{array}{*{20}{l}}7\\0\end{array}} \right),2\left( {\begin{array}{*{20}{l}}7\\1\end{array}} \right),{2^2}\left( {\begin{array}{*{20}{l}}7\\2\end{array}} \right), \ldots ,{2^7}\left( {\begin{array}{*{20}{l}}7\\7\end{array}} \right),0,0,0,0, \ldots \)
f) \( - 3,3, - 3,3, - 3,3, \ldots \)
g) \(0,1, - 2,4, - 8,16, - 32,64, \ldots \)
h) \(1,0,1,0,1,0,1,0, \ldots \)
Find when , where satisfies the recurrence relation with .
What do you think about this solution?
We value your feedback to improve our textbook solutions.