Deck 8: Advanced Counting Techniques
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Unlock Deck
Sign up to unlock the cards in this deck!
Unlock Deck
Unlock Deck
1/128
Play
Full screen (f)
Deck 8: Advanced Counting Techniques
1
determine whether the recurrence relation is a linear homogeneous recurrence relation with
constant coefficients.

constant coefficients.

Yes.
2
A vending machine dispensing books of stamps accepts only $1 coins, $1 bills, and $2 bills. Let an denote the
number of ways of depositing n dollars in the vending machine, where the order in which the coins and bills
are deposited matters.
(a) Find a recurrence relation for an and give the necessary initial condition(s).
(b) Find an explicit formula for an by solving the recurrence relation in part (a).
number of ways of depositing n dollars in the vending machine, where the order in which the coins and bills
are deposited matters.
(a) Find a recurrence relation for an and give the necessary initial condition(s).
(b) Find an explicit formula for an by solving the recurrence relation in part (a).


3
In questions solve the recurrence relation either by using the characteristic equation or by discovering
a pattern formed by the terms.

a pattern formed by the terms.


4
In questions solve the recurrence relation either by using the characteristic equation or by discovering
a pattern formed by the terms.

a pattern formed by the terms.

Unlock Deck
Unlock for access to all 128 flashcards in this deck.
Unlock Deck
k this deck
5
determine whether the recurrence relation is a linear homogeneous recurrence relation with
constant coefficients.

constant coefficients.

Unlock Deck
Unlock for access to all 128 flashcards in this deck.
Unlock Deck
k this deck
6
determine whether the recurrence relation is a linear homogeneous recurrence relation with
constant coefficients.

constant coefficients.

Unlock Deck
Unlock for access to all 128 flashcards in this deck.
Unlock Deck
k this deck
7
In questions solve the recurrence relation either by using the characteristic equation or by discovering
a pattern formed by the terms.

a pattern formed by the terms.

Unlock Deck
Unlock for access to all 128 flashcards in this deck.
Unlock Deck
k this deck
8
In questions solve the recurrence relation either by using the characteristic equation or by discovering
a pattern formed by the terms.

a pattern formed by the terms.

Unlock Deck
Unlock for access to all 128 flashcards in this deck.
Unlock Deck
k this deck
9
In questions solve the recurrence relation either by using the characteristic equation or by discovering
a pattern formed by the terms.

a pattern formed by the terms.

Unlock Deck
Unlock for access to all 128 flashcards in this deck.
Unlock Deck
k this deck
10
In questions solve the recurrence relation either by using the characteristic equation or by discovering
a pattern formed by the terms.

a pattern formed by the terms.

Unlock Deck
Unlock for access to all 128 flashcards in this deck.
Unlock Deck
k this deck
11
In questions , describe each sequence recursively. Include initial conditions and assume that the sequences
begin with a1.
= the number of bit strings of length n that contain a pair of consecutive 0's.
begin with a1.

Unlock Deck
Unlock for access to all 128 flashcards in this deck.
Unlock Deck
k this deck
12
In questions , describe each sequence recursively. Include initial conditions and assume that the sequences
begin with a1.
= the number of bit strings of length n that begin with 1.
begin with a1.

Unlock Deck
Unlock for access to all 128 flashcards in this deck.
Unlock Deck
k this deck
13
In questions solve the recurrence relation either by using the characteristic equation or by discovering
a pattern formed by the terms.

a pattern formed by the terms.

Unlock Deck
Unlock for access to all 128 flashcards in this deck.
Unlock Deck
k this deck
14
determine whether the recurrence relation is a linear homogeneous recurrence relation with
constant coefficients.

constant coefficients.

Unlock Deck
Unlock for access to all 128 flashcards in this deck.
Unlock Deck
k this deck
15
Find the solution of the recurrence relation 

Unlock Deck
Unlock for access to all 128 flashcards in this deck.
Unlock Deck
k this deck
16
determine whether the recurrence relation is a linear homogeneous recurrence relation with
constant coefficients.

constant coefficients.

Unlock Deck
Unlock for access to all 128 flashcards in this deck.
Unlock Deck
k this deck
17
determine whether the recurrence relation is a linear homogeneous recurrence relation with
constant coefficients.

constant coefficients.

Unlock Deck
Unlock for access to all 128 flashcards in this deck.
Unlock Deck
k this deck
18
In questions solve the recurrence relation either by using the characteristic equation or by discovering
a pattern formed by the terms.

a pattern formed by the terms.

Unlock Deck
Unlock for access to all 128 flashcards in this deck.
Unlock Deck
k this deck
19
In questions , describe each sequence recursively. Include initial conditions and assume that the sequences
begin with a1.
= the number of bit strings of length n with an even number of 0's.
begin with a1.

Unlock Deck
Unlock for access to all 128 flashcards in this deck.
Unlock Deck
k this deck
20
In questions , describe each sequence recursively. Include initial conditions and assume that the sequences
begin with a1.
= the number of ways to go down an n-step staircase if you go down 1, 2, or 3 steps at a time.
begin with a1.

Unlock Deck
Unlock for access to all 128 flashcards in this deck.
Unlock Deck
k this deck
21

Unlock Deck
Unlock for access to all 128 flashcards in this deck.
Unlock Deck
k this deck
22
Consider the recurrence relation
(a) Write the associated homogeneous recurrence relation.
(b) Find the general solution to the associated homogeneous recurrence relation.
(c) Find a particular solution to the given recurrence relation.
(d) Write the general solution to the given recurrence relation.
(e) Find the particular solution to the given recurrence relation when

(b) Find the general solution to the associated homogeneous recurrence relation.
(c) Find a particular solution to the given recurrence relation.
(d) Write the general solution to the given recurrence relation.
(e) Find the particular solution to the given recurrence relation when

Unlock Deck
Unlock for access to all 128 flashcards in this deck.
Unlock Deck
k this deck
23
Suppose
Find https://storage.examlex.com/TB34225555/
.


Unlock Deck
Unlock for access to all 128 flashcards in this deck.
Unlock Deck
k this deck
24
Assume that the characteristic equation for a homogeneous linear recurrence relation with constant coefficients
Describe the form for the general solution to the recurrence relation.

Unlock Deck
Unlock for access to all 128 flashcards in this deck.
Unlock Deck
k this deck
25
Consider the recurrence relation
(a) Write the associated homogeneous recurrence relation.
(b) Find the general solution to the associated homogeneous recurrence relation.
(c) Find a particular solution to the given recurrence relation.
(d) Write the general solution to the given recurrence relation.
(e) Find the particular solution to the given recurrence relation when

(b) Find the general solution to the associated homogeneous recurrence relation.
(c) Find a particular solution to the given recurrence relation.
(d) Write the general solution to the given recurrence relation.
(e) Find the particular solution to the given recurrence relation when

Unlock Deck
Unlock for access to all 128 flashcards in this deck.
Unlock Deck
k this deck
26
Suppose https://storage.examlex.com/TB34225555/
. Find 


Unlock Deck
Unlock for access to all 128 flashcards in this deck.
Unlock Deck
k this deck
27
Consider the recurrence relation
(a) Write the associated homogeneous recurrence relation.
(b) Find the general solution to the associated homogeneous recurrence relation.
(c) Find a particular solution to the given recurrence relation.
(d) Write the general solution to the given recurrence relation.
(e) Find the particular solution to the given recurrence relation when a0 = 1.

(b) Find the general solution to the associated homogeneous recurrence relation.
(c) Find a particular solution to the given recurrence relation.
(d) Write the general solution to the given recurrence relation.
(e) Find the particular solution to the given recurrence relation when a0 = 1.
Unlock Deck
Unlock for access to all 128 flashcards in this deck.
Unlock Deck
k this deck
28
The Catalan numbers
count the number of strings of n +’s and n −’s with the following property: as each string is read from left to right, the number of +’s encountered is always at least as large as the number of −’s . (a) Verify this by listing these strings of lengths 2,4 , and 6 and showing that there are C1, C2, and C3 of these, respectively.
(b) Explain how counting these strings is the same as counting the number of ways to correctly parenthesize strings of variables.

(b) Explain how counting these strings is the same as counting the number of ways to correctly parenthesize strings of variables.
Unlock Deck
Unlock for access to all 128 flashcards in this deck.
Unlock Deck
k this deck
29
What form does a particular solution of the linear nonhomogeneous recurrence relation
+
have when
?



Unlock Deck
Unlock for access to all 128 flashcards in this deck.
Unlock Deck
k this deck
30
Suppose
. Find https://storage.examlex.com/TB34225555/
.


Unlock Deck
Unlock for access to all 128 flashcards in this deck.
Unlock Deck
k this deck
31
Assume that the characteristic equation for a homogeneous linear recurrence relation with constant coefficients 

Unlock Deck
Unlock for access to all 128 flashcards in this deck.
Unlock Deck
k this deck
32
What form does a particular solution of the linear nonhomogeneous recurrence relation
+
have when
?



Unlock Deck
Unlock for access to all 128 flashcards in this deck.
Unlock Deck
k this deck
33
Consider the recurrence relation
(a) Write the associated homogeneous recurrence relation.
(b) Find the general solution to the associated homogeneous recurrence relation.
(c) Find a particular solution to the given recurrence relation.
(d) Write the general solution to the given recurrence relation.
(e) Find the particular solution to the given recurrence relation when a0 = 1.

(b) Find the general solution to the associated homogeneous recurrence relation.
(c) Find a particular solution to the given recurrence relation.
(d) Write the general solution to the given recurrence relation.
(e) Find the particular solution to the given recurrence relation when a0 = 1.
Unlock Deck
Unlock for access to all 128 flashcards in this deck.
Unlock Deck
k this deck
34
What form does a particular solution of the linear nonhomogeneous recurrence relation
have when 



Unlock Deck
Unlock for access to all 128 flashcards in this deck.
Unlock Deck
k this deck
35
Assume that the characteristic equation for a homogeneous linear recurrence relation with constant coefficients
is
is

Unlock Deck
Unlock for access to all 128 flashcards in this deck.
Unlock Deck
k this deck
36
What form does a particular solution of the linear nonhomogeneous recurrence relation
have when 



Unlock Deck
Unlock for access to all 128 flashcards in this deck.
Unlock Deck
k this deck
37
Thesolutionssolutionsto thetogivanen=recurrence−3an−1 +relation?18an−2 have the form
Which of the following are 


Unlock Deck
Unlock for access to all 128 flashcards in this deck.
Unlock Deck
k this deck
38
Suppose
Find https://storage.examlex.com/TB34225555/
.


Unlock Deck
Unlock for access to all 128 flashcards in this deck.
Unlock Deck
k this deck
39
Suppose
Find https://storage.examlex.com/TB34225555/
.


Unlock Deck
Unlock for access to all 128 flashcards in this deck.
Unlock Deck
k this deck
40
Assume that the characteristic equation for a homogeneous linear recurrence relation with constant coefficients 

Unlock Deck
Unlock for access to all 128 flashcards in this deck.
Unlock Deck
k this deck
41
In questions write the first seven terms of the sequence determined by the generating function.
cos x.
cos x.
Unlock Deck
Unlock for access to all 128 flashcards in this deck.
Unlock Deck
k this deck
42
find the coefficient of
in the power series of each of the function.



Unlock Deck
Unlock for access to all 128 flashcards in this deck.
Unlock Deck
k this deck
43
In questions write the first seven terms of the sequence determined by the generating function.
5.
5.
Unlock Deck
Unlock for access to all 128 flashcards in this deck.
Unlock Deck
k this deck
44
In questions write the first seven terms of the sequence determined by the generating function.


Unlock Deck
Unlock for access to all 128 flashcards in this deck.
Unlock Deck
k this deck
45
find the coefficient of
in the power series of each of the function.



Unlock Deck
Unlock for access to all 128 flashcards in this deck.
Unlock Deck
k this deck
46
In questions write the first seven terms of the sequence determined by the generating function.


Unlock Deck
Unlock for access to all 128 flashcards in this deck.
Unlock Deck
k this deck
47
find the coefficient of
in the power series of each of the function.



Unlock Deck
Unlock for access to all 128 flashcards in this deck.
Unlock Deck
k this deck
48
find the coefficient of
in the power series of each of the function.



Unlock Deck
Unlock for access to all 128 flashcards in this deck.
Unlock Deck
k this deck
49
Use generating functions to solve 

Unlock Deck
Unlock for access to all 128 flashcards in this deck.
Unlock Deck
k this deck
50
find the coefficient of
in the power series of each of the function.



Unlock Deck
Unlock for access to all 128 flashcards in this deck.
Unlock Deck
k this deck
51
In questions write the first seven terms of the sequence determined by the generating function.


Unlock Deck
Unlock for access to all 128 flashcards in this deck.
Unlock Deck
k this deck
52
find the coefficient of
in the power series of each of the function.



Unlock Deck
Unlock for access to all 128 flashcards in this deck.
Unlock Deck
k this deck
53
find the coefficient of
in the power series of each of the function.



Unlock Deck
Unlock for access to all 128 flashcards in this deck.
Unlock Deck
k this deck
54
In questions write the first seven terms of the sequence determined by the generating function.


Unlock Deck
Unlock for access to all 128 flashcards in this deck.
Unlock Deck
k this deck
55
find the coefficient of
in the power series of each of the function.



Unlock Deck
Unlock for access to all 128 flashcards in this deck.
Unlock Deck
k this deck
56
In questions write the first seven terms of the sequence determined by the generating function.


Unlock Deck
Unlock for access to all 128 flashcards in this deck.
Unlock Deck
k this deck
57
In questions write the first seven terms of the sequence determined by the generating function.


Unlock Deck
Unlock for access to all 128 flashcards in this deck.
Unlock Deck
k this deck
58
In questions write the first seven terms of the sequence determined by the generating function.


Unlock Deck
Unlock for access to all 128 flashcards in this deck.
Unlock Deck
k this deck
59
Use generating functions to solve 

Unlock Deck
Unlock for access to all 128 flashcards in this deck.
Unlock Deck
k this deck
60
In questions write the first seven terms of the sequence determined by the generating function.


Unlock Deck
Unlock for access to all 128 flashcards in this deck.
Unlock Deck
k this deck
61
In questions find a closed form for the generating function for the sequence.
2, 3, 4, 5, 6, 7, . . . .
2, 3, 4, 5, 6, 7, . . . .
Unlock Deck
Unlock for access to all 128 flashcards in this deck.
Unlock Deck
k this deck
62
find the coefficient of
in the power series of each of the function.



Unlock Deck
Unlock for access to all 128 flashcards in this deck.
Unlock Deck
k this deck
63
In questions find a closed form for the generating function for the sequence.


Unlock Deck
Unlock for access to all 128 flashcards in this deck.
Unlock Deck
k this deck
64
In questions find a closed form for the generating function for the sequence.


Unlock Deck
Unlock for access to all 128 flashcards in this deck.
Unlock Deck
k this deck
65
Set up a generating function and use it to find the number of ways in which eleven identical coins can be put
in three distinct envelopes if no envelope is empty.
in three distinct envelopes if no envelope is empty.
Unlock Deck
Unlock for access to all 128 flashcards in this deck.
Unlock Deck
k this deck
66
In questions find a closed form for the generating function for the sequence.
4, 8, 16, 32, 64, . . . .
4, 8, 16, 32, 64, . . . .
Unlock Deck
Unlock for access to all 128 flashcards in this deck.
Unlock Deck
k this deck
67
In questions find a closed form for the generating function for the sequence.


Unlock Deck
Unlock for access to all 128 flashcards in this deck.
Unlock Deck
k this deck
68
Set up a generating function and use it to find the number of ways in which eleven identical coins can be put
in three distinct envelopes if each envelope has at least two coins in it.
in three distinct envelopes if each envelope has at least two coins in it.
Unlock Deck
Unlock for access to all 128 flashcards in this deck.
Unlock Deck
k this deck
69
In questions find a closed form for the generating function for the sequence.
2, 0, 0, 2, 0, 0, 2, 0, 0, 2, . . . .
2, 0, 0, 2, 0, 0, 2, 0, 0, 2, . . . .
Unlock Deck
Unlock for access to all 128 flashcards in this deck.
Unlock Deck
k this deck
70
Set up a generating function and use it to find the number of ways in which eleven identical coins can be put
in three distinct envelopes if each envelope has an even number of coins in it.
in three distinct envelopes if each envelope has an even number of coins in it.
Unlock Deck
Unlock for access to all 128 flashcards in this deck.
Unlock Deck
k this deck
71
find the coefficient of
in the power series of each of the function.



Unlock Deck
Unlock for access to all 128 flashcards in this deck.
Unlock Deck
k this deck
72
Set up a generating function and use it to find the number of ways in which eleven identical coins can be put
in three distinct envelopes if each envelope has most six coins in it.
in three distinct envelopes if each envelope has most six coins in it.
Unlock Deck
Unlock for access to all 128 flashcards in this deck.
Unlock Deck
k this deck
73
find the coefficient of
in the power series of each of the function.



Unlock Deck
Unlock for access to all 128 flashcards in this deck.
Unlock Deck
k this deck
74
In questions find a closed form for the generating function for the sequence.
0, 0, 0, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, . . . .
0, 0, 0, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, . . . .
Unlock Deck
Unlock for access to all 128 flashcards in this deck.
Unlock Deck
k this deck
75
In questions find a closed form for the generating function for the sequence.


Unlock Deck
Unlock for access to all 128 flashcards in this deck.
Unlock Deck
k this deck
76
In questions find a closed form for the generating function for the sequence.
1, 0, 1, 0, 1, 0, 1, 0, . . . .
1, 0, 1, 0, 1, 0, 1, 0, . . . .
Unlock Deck
Unlock for access to all 128 flashcards in this deck.
Unlock Deck
k this deck
77
In questions find a closed form for the generating function for the sequence.


Unlock Deck
Unlock for access to all 128 flashcards in this deck.
Unlock Deck
k this deck
78
In questions find a closed form for the generating function for the sequence.
2, 4, 6, 8, 10, 12, . . . .
2, 4, 6, 8, 10, 12, . . . .
Unlock Deck
Unlock for access to all 128 flashcards in this deck.
Unlock Deck
k this deck
79
In questions find a closed form for the generating function for the sequence.


Unlock Deck
Unlock for access to all 128 flashcards in this deck.
Unlock Deck
k this deck
80
In questions find a closed form for the generating function for the sequence.
0, 1, 1, 0, 1, 1, 0, 1, 1, 0, 1, 1, 0, 1 . . . .
0, 1, 1, 0, 1, 1, 0, 1, 1, 0, 1, 1, 0, 1 . . . .
Unlock Deck
Unlock for access to all 128 flashcards in this deck.
Unlock Deck
k this deck