## Introduction to Discrete Mathematics Midterm Exam 1, Wed 25 October, 8-11 a.m.

1. Let denote the family of all possible partitions of the set . Define a partial order on as follows: , if partition is finer than partition , i.e. each class of is contained in some class of . For instance, in it is true that , but e.g. the partitions and are incomparable.
1. Draw the Hasse diagrams of the partial orders and . How many elements do the sets and have?
2. Describe in general terms the partial order ( . What are its least and greatest elements? How many elements does it have altogether? What are the immediate successors of a given partition ? How many are there?

2. Consider the family of subsets of an -element set . How many ways are there to select a pair of sets , , , so that ? How about if one requires in addition that ?

3. Six married couples organize a dance party. In how many ways can they be arranged into dancing pairs, when it is required that nobody dances with their own spouse? (Hint: Inclusion-exclusion.)

4. Small-time stock market investor F. U. Ture manages his portfolio according to the following scheme: in the beginning of each week he buys new shares for an amount of money equal to the value of his portfolio two weeks earlier, and sells shares for an amount corresponding to the value of his portfolio three weeks earlier. (Any other possible changes in the values of the shares are ignored here.) Find out how the value of F. U. Ture's portfolio evolves, when he starts investing in the beginning of Week 0 with an initial capital of 1 Euro.

Grading: Problems 1 and 4 each 8 points, Problems 2 and 3 each 7 points, total 30 points.