Exam 8: Advanced Counting Techniques
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
Suppose that
How many elements are in
Free
(Essay)
4.8/5
(37)
Correct Answer:
By the principle of inclusion-exclusion .
Hence 175=100+100+100-60-50-40+ . Therefore =175-150=25 .
How many positive integers not exceeding 1000 are not divisible by either 4 or 6?
Free
(Essay)
4.9/5
(39)
Correct Answer:
The number of positive integers not exceeding 1000 that are not divisible by either 4 or 6 equals 1000 . Here we used the fact that the integers divisible by both 4 and 6 are those divisible by 12 .
Find the solution of the recurrence relation
Free
(Essay)
4.8/5
(28)
Correct Answer:
By iteration we find that . This can be verified using mathematical induction.
How many ways are there to assign six jobs to four employees so that every employee is assigned at least one job?
(Essay)
4.9/5
(30)
How many onto functions are there from a set with six elements to a set with four elements?
(Essay)
4.9/5
(33)
Find the solution of the linear homogeneous recurrence relation a1 = 4.
(Essay)
4.8/5
(31)
How many positive integers not exceeding 1000 are not divisible by 4, 6, or 9?
(Essay)
4.9/5
(31)
Use generating functions to solve the recurrence relation =1,2,3, ... , with initial condition
a0=3
(Essay)
4.7/5
(26)
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.
(Essay)
4.8/5
(27)
Suppose that f(n) satisfies the divide-and-conquer relation What is f(81)?
(Essay)
4.7/5
(27)
Suppose that satisfies the divide-and-conquer recurrence relation What is ?
(Essay)
4.7/5
(32)
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.)
(Essay)
4.8/5
(39)
(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?
(Essay)
4.8/5
(34)
Filters
- Essay(0)
- Multiple Choice(0)
- Short Answer(0)
- True False(0)
- Matching(0)