Docsity

Math 480 Homework 7: Permutations, Cycles, and Catalan Numbers, Assignments of Mathematics

Toggle sidebar
bg1
Math 480 HOMEWORK #7 due Thu, November 13
Written assignment (4 problems).
W1.
1. Prove that any permutation can be written uniquely as a product of disjoint cycles.
2. Prove that if πk=id, then the length of each cycle divides k.
3. Let anbe the number of permutations of length nsuch that πp=id for some fixed
prime number p. Find the recurrence for an.
4. Find the exponential generating function for an.
W2. c(n, k) is the number of permutations of nelements with kdisjoint cycles (called
unsigned Stirling numbers of the first kind).
1. Find a recurrence for c(n, k) (i.e., express c(n, k) in terms of c(m, l ) with m≤n).
2. Compute c(n, 1), c(n, n −1), and c(n, 2).
3. Prove that x(x−1) . . . (x−n+ 1) =
n
P
k=1
(−1)n−kc(n, k)xk.
W3. A deck of cards has 52 regular cards and 2 jokers. Assume the deck is shuffled so that
the cards are distributed randomly. Let Pkbe the probability that counting from the top
of the deck the first appearance of the joker happens on the kth card. For which kis Pk
maximal?
W4. Find the generating function for the recurrence an=nan−1+n(n−1)an−2,a0=a1= 1.
Solve for an.
Presentation assignment (4 problems).
P1. Recall the Catalan numbers discussed in class: Cn=1
n+1 2n
n. Prove the following
equivalent combinatorial definitions of Catalan numbers (see [S] for another hundred or so
descriptions).
(a) Cncounts the number of expressions containing npairs of parentheses which are cor-
rectly matched: e.g., for n= 3 we have ((())),(()()),()()(),()(()),(())().
(b) Cnis the number of paths on a grid of side-length 1 taking NE and SE steps (up-right
and down-right, of length √2) which start at (0,0), end at (n, 0), and stay above the
x-axis (these are called Dyck paths).
pf2

Partial preview of the text

Download Math 480 Homework 7: Permutations, Cycles, and Catalan Numbers and more Assignments Mathematics in PDF only on Docsity!

Math 480 HOMEWORK # 7 due Thu, November 13

Written assignment (4 problems).

W1.

  1. Prove that any permutation can be written uniquely as a product of disjoint cycles.
  2. Prove that if πk^ = id, then the length of each cycle divides k.
  3. Let an be the number of permutations of length n such that πp^ = id for some fixed prime number p. Find the recurrence for an.
  4. Find the exponential generating function for an.

W2. c(n, k) is the number of permutations of n elements with k disjoint cycles (called unsigned Stirling numbers of the first kind).

  1. Find a recurrence for c(n, k) (i.e., express c(n, k) in terms of c(m, l) with m ≤ n).
  2. Compute c(n, 1), c(n, n − 1), and c(n, 2).
  3. Prove that x(x − 1)... (x − n + 1) =

∑n k=

(−1)n−kc(n, k)xk.

W3. A deck of cards has 52 regular cards and 2 jokers. Assume the deck is shuffled so that the cards are distributed randomly. Let Pk be the probability that counting from the top of the deck the first appearance of the joker happens on the kth card. For which k is Pk maximal?

W4. Find the generating function for the recurrence an = nan− 1 +n(n−1)an− 2 , a 0 = a 1 = 1. Solve for an.

Presentation assignment (4 problems).

P1. Recall the Catalan numbers discussed in class: Cn = (^) n+1^1

( 2 n n

. Prove the following equivalent combinatorial definitions of Catalan numbers (see [S] for another hundred or so descriptions).

(a) Cn counts the number of expressions containing n pairs of parentheses which are cor- rectly matched: e.g., for n = 3 we have ((())), (()()), ()()(), ()(()), (())().

(b) Cn is the number of paths on a grid of side-length 1 taking NE and SE steps (up-right and down-right, of length

  1. which start at (0, 0), end at (n, 0), and stay above the x-axis (these are called Dyck paths).

(c) Cn is the number of different ways a convex polygon with n + 2 sides can be cut into triangles by connecting vertices with straight lines (the lines cannot intersect).

P2.

(a) What is the expected number of cycles of length k in a permutation of length n?

(b) What is the average number of cycles (of any length) in a permutation of length n?

P3. You are given n biased coins, numbered 1,... , n. The probability for the coin m to come up heads is 1/(2m + 1), and each toss is a random, independent event. What is the probability that after tossing all the coins, we record an odd number of heads?

P4. Let C be the unit circle. Choose a point P uniformly on C, and then choose a point Q uniformly (and independently of P ) inside C. What is the probability that the rectangle with diagonal P Q and sides parallel to the x and y axes lies entirely in (or on) C?

References

[S] R. Stanley, Enumerative combinatorics, Volume II, Cambridge University Press, (2001).