Deck 8: Advanced Counting Techniques
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
فتح الحزمة
قم بالتسجيل لفتح البطاقات في هذه المجموعة!
Unlock Deck
Unlock Deck
1/16
العب
ملء الشاشة (f)
Deck 8: Advanced Counting Techniques
1
List the derangements of the set {1, 2, 3, 4}.
The derangements of {1, 2, 3, 4} are the permutations of these four integers that leave no integer in its original position. These are 2143, 2341, 2413, 3142, 3412, 3421, 4123, 4312, and 4321.
2
Use generating functions to solve the recurrence relation
=1,2,3, ... , with initial condition
a0=3

a0=3
Let
be the generating function for the sequence https://d2lvgg3v3hfg70.cloudfront.net/TB34225555/
. Then
=
,It follows that:
=3, because of the given recurrence relation and initial condition. Thus
,so
it follows from an identity in table 1 of section 8.4 that
. consecuently
.









3
Suppose that f(n) satisfies the divide-and-conquer relation
What is f(81)?


4
Find the solution of the recurrence relation 

فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 16 في هذه المجموعة.
فتح الحزمة
k this deck
5
How many positive integers not exceeding 1000 are not divisible by 4, 6, or 9?
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 16 في هذه المجموعة.
فتح الحزمة
k this deck
6
How many onto functions are there from a set with six elements to a set with four elements?
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 16 في هذه المجموعة.
فتح الحزمة
k this deck
7
Suppose that
satisfies the divide-and-conquer recurrence relation
What is
?



فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 16 في هذه المجموعة.
فتح الحزمة
k this deck
8
How many ways are there to assign six jobs to four employees so that every employee is assigned at least one job?
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 16 في هذه المجموعة.
فتح الحزمة
k this deck
9
Suppose that 
How many elements are in

How many elements are in

فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 16 في هذه المجموعة.
فتح الحزمة
k this deck
10
Find a generating function for the sequence 2, 3, 4, 5, . . ..
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 16 في هذه المجموعة.
فتح الحزمة
k this deck
11
How many permutations are there of the digits in the string 12345 that leave 3 fixed but leave no other integer fixed? (For instance, 24351 is such a permutation.)
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 16 في هذه المجموعة.
فتح الحزمة
k this deck
12
Find a recurrence relation and initial condition for the number of fruit flies in a jar if there are 12 flies initially and every week there are six times as many flies in the jar as there were the previous week.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 16 في هذه المجموعة.
فتح الحزمة
k this deck
13
(a) Find a recurrence relation for the number of ways to climb n stairs if stairs can be climbed two or three at a time. (b) What are the initial conditions? (c) How many ways are there to climb eight stairs?
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 16 في هذه المجموعة.
فتح الحزمة
k this deck
14
What is the solution to the recurrence relation 

فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 16 في هذه المجموعة.
فتح الحزمة
k this deck
15
How many positive integers not exceeding 1000 are not divisible by either 4 or 6?
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 16 في هذه المجموعة.
فتح الحزمة
k this deck
16
Find the solution of the linear homogeneous recurrence relation
a1 = 4.

فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 16 في هذه المجموعة.
فتح الحزمة
k this deck