Docsity

Math 116: Solutions for Counting Distinct Numbers & Circular Permutations, Assignments of Mathematics

Toggle sidebar
bg1
Math 116 - Solutions to selected problems from Homework # 1
The problems below are from Section 3.6 in the text.
6. The easiest approach is to break the problem up into cases based on the number of
digits for the number. Since the digits must be distinct, and cannot be 2 or 7, the
number can have at most 8 digits. If it has n≥5 digits, it will automatically be larger
than 5400, so we have 7 choices for the first digit (it can’t be 0), and then P(7, n −1)
ways to choose the remaining digits. If the number has only 4 digits, then we again
consider 2 cases. If the first digit is 5, then the second digit can be 4,6,8 or 9– 4
choices–and we have 6 choices for the third digit and then 5 for the last digit. This
yields 4 ∗6∗5 possibilities. If the first digit is larger than 5, we have 3 choices, then
the the last 3 digits can be chosen in P(7,3) ways. Adding everything up, we get
7P(7,7) + 7P(7,6) + 7P(7,5) + 7P(7,4) + 4 ∗6∗5+3P(7,3) = 94,830.
9. Since we want to count circular permutations, we can without loss of generality suppose
that Ais seated at the head of the table. If Brefuses to sit next to A, there are 12
possible seats for B, and then there will be 13 people left to sit in 13 seats. Hence
there are 12 ∗13! ways to do this. Now, if Bonly refuses to sit on A’s right, then
everything is the same as above, except that Bhas 13 seats to choose from. Hence
there are 13 ∗13! possibilities in this case.
20. There are 10!/10 = 9! circular permutations of {0,1,...,9}. Let’s now count the
number where 0 and 9 are opposite. If we imagine that 0 is fixed at the head of the
table, then 9 must be fixed at the opposite end of the table. This leaves 8 open seats
and 8 people to fill them. The number of ways this can be done is 8!. Hence the total
number of circular permutations where 0 and 9 are not opposite is 9! −8!.
1

Partial preview of the text

Download Math 116: Solutions for Counting Distinct Numbers & Circular Permutations and more Assignments Mathematics in PDF only on Docsity!

Math 116 - Solutions to selected problems from Homework # 1

The problems below are from Section 3.6 in the text.

  1. The easiest approach is to break the problem up into cases based on the number of digits for the number. Since the digits must be distinct, and cannot be 2 or 7, the number can have at most 8 digits. If it has n ≥ 5 digits, it will automatically be larger than 5400, so we have 7 choices for the first digit (it can’t be 0), and then P (7, n − 1) ways to choose the remaining digits. If the number has only 4 digits, then we again consider 2 cases. If the first digit is 5, then the second digit can be 4, 6 , 8 or 9– 4 choices–and we have 6 choices for the third digit and then 5 for the last digit. This yields 4 ∗ 6 ∗ 5 possibilities. If the first digit is larger than 5, we have 3 choices, then the the last 3 digits can be chosen in P (7, 3) ways. Adding everything up, we get

7 P (7, 7) + 7P (7, 6) + 7P (7, 5) + 7P (7, 4) + 4 ∗ 6 ∗ 5 + 3P (7, 3) = 94, 830.

  1. Since we want to count circular permutations, we can without loss of generality suppose that A is seated at the head of the table. If B refuses to sit next to A, there are 12 possible seats for B, and then there will be 13 people left to sit in 13 seats. Hence there are 12 ∗ 13! ways to do this. Now, if B only refuses to sit on A’s right, then everything is the same as above, except that B has 13 seats to choose from. Hence there are 13 ∗ 13! possibilities in this case.
  2. There are 10!/10 = 9! circular permutations of { 0 , 1 ,... , 9 }. Let’s now count the number where 0 and 9 are opposite. If we imagine that 0 is fixed at the head of the table, then 9 must be fixed at the opposite end of the table. This leaves 8 open seats and 8 people to fill them. The number of ways this can be done is 8!. Hence the total number of circular permutations where 0 and 9 are not opposite is 9! − 8!.