Docsity

CS 1050-A Homework 3: Probability and Combinatorics Problems - Prof. Richard Lipton, Assignments of Computer Science

Partial preview of the text

Download CS 1050-A Homework 3: Probability and Combinatorics Problems - Prof. Richard Lipton and more Assignments Computer Science in PDF only on Docsity!

CS 1050-A Homework 3

Prof. Merrick Furst and Prof. Dick Lipton

Due: 5 March 2004

1 Problem 1

N people that pick up their coats after a performance. Unfortunately, the claim tickets are lost, so each person picks one coat at random. What is the expected number of people who pick up their own coat?

We call a k-parition of a non-negative integer N a sequence of k non-negative integers, a 1 , a 2 ,... , ak− 1 , ak, that sums to N. Given k and N , how many k-partitions are there of N? Give a formula for this and prove it correct.

Suppose 2n players enter a tennis tournament. In the first round, each player plays against one other. This is called a “pairing.” How many distinct pairings are there? Provide a formula and show it is correct.

If you flip n coins in a row, what is the probability you see an even number of heads? Hint: Find a formula for

∑ kiseven

(n k

)

. Prove your result.