Elements of Combinatorics
[43/100%]Let be a set of three elements. Find the number of
two-place functions that can be defined on ;
three-place functions that can be defined on ;
three-place relations that can be defined on .
Let . How many
three-element subsets of the set are there?
five-element subsets of the set containing are there?
five-element subsets of the set not containing are there?
five-element subsets of the set containing but not containing and are there?
subsets of the set containing at least three elements are there?
subsets of the set containing at most six elements are there?
How many strictly increasing sequences of integers are there that
begin with 1 and end with 7?
begin with 4 and end with 11?
begin with and end with ?
Suppose there are pairwise disjoint sets and . Prove that the number of sets containing at most one element from each equals .
Let be the factorization of into prime factors. Using the previous problem, prove that the number of distinct divisors of equals . Prove that is a perfect square if and only if is odd.
The number is the sum of the following series: . Let be the sum of the first terms of this series: . Prove that — the total number of arrangements without repetition of objects taken any number of positions — equals . Conclude that for large it is approximately equal to en!.
Prove the identities:
;
;
.
Prove the binomial theorem using mathematical induction.
Prove that
where and denote rounding of the number to the nearest integer down and up, respectively.
How many distinct paths are there in the plane from the point to the point , passing through points with integer coordinates, in which each unit-length segment goes either left to right or bottom to top?
In the expansion of find the coefficient of .
In the expansion of find the coefficient of .
In the expansion of find the coefficient of .
Prove that the number of partitions of an -element set into subsets, the first of which contains elements, the second elements, , the -th elements, equals .
Determine how many distinct words can be formed from the letters of the word АБРАКАДАБРА, if each letter must be used exactly once.
Prove the equality
Find the number of deals for each of the following card games.
In bridge, a deck of 52 cards is dealt to four players, 13 cards each.
In preferans, a deck of 32 cards is dealt to three players, 10 cards each, and the remaining 2 cards are left in the widow (talon). The order of the cards in the widow matters.
In durak, a deck of 36 cards is dealt to four players — 6 cards each, and the remaining 12 cards are left in the stock. The order of the cards in the stock matters.
Suppose that in some card game a deck of cards is dealt to players — cards each, and the remaining cards are left in the widow. Derive formulas determining in how many ways such a deal can be made in the cases when (i) the order of the cards in the widow is immaterial, (ii) the order of the cards in the widow matters.
A lecturer plans to teach the same course for 20 years. To avoid boring the students, he decided to tell them three jokes each year, and this set of three jokes must never repeat. What is the minimum number of jokes he must prepare?
It is known that among all five-element subsets of the set , a quarter contain the element 7. Determine the value of .
On an island there lives a tribe of natives whose set of teeth in the mouth consists of at most 30 teeth. Moreover, on the island there are no two inhabitants with identical sets of teeth (two sets are identical if for both people each tooth is either simultaneously present or simultaneously absent). Can this island have more inhabitants than there are in
Torzhok?
Tver?
Moscow?
Russia?
the entire world?
Prove the Cauchy identity:
Prove that the number is odd if and only if , where the value of the function is the set of binary digit positions that contain ones in the binary representation of the number . In other words, if in the binary representation of some digit position holds a one, then the binary representation of must also hold a one in that position. Hint. Use induction on , represent for and apply the Cauchy identity.
A multiset is an unordered collection of elements, each of which can occur in it any number of times. Two multisets are equal if each element occurs in them the same number of times. For example, the multiset equals the multiset and does not equal the multiset .
Prove that the number of ways in which one can produce a -element multiset, having pairwise distinct elements and using each of them any number of times, equals .
Determine how many natural-number solutions the equation has.
How many natural-number solutions does the equation have, if for all ?
How many natural-number solutions does the equation have, if and for all ?
The parliament of a certain country has 401 seats. In how many ways can the seats in the parliament be distributed among three parties so that none of them has an absolute majority (more than half of the seats)?
A pastry shop sells four kinds of pastries: choux, shortcrust, "kartoshka", and sponge cake. In how many ways can one buy
6 pastries?
7 pastries?
7 pastries, if at least one pastry of each kind must be bought?
Let us call two outcomes of the Russian football championship coinciding in the main respect if in these outcomes the holders of the gold, silver, and bronze medals coincide, as well as the two teams leaving the premier league (that is, the two teams taking the last two places). Find the number of distinct main outcomes (recall that 16 teams take part in the championship).
In how many ways can one arrange balls, of which are black and the rest white, in a row so that no two black balls end up adjacent?
Prove the identity .
There are books on a bookshelf. In how many ways can one take books so as not to take adjacent books nor books standing at the ends of the shelf?
Around King Arthur's round table sit 12 knights. Each of them is at odds with his neighbors. Five knights need to be chosen to free the princess. In how many ways can this be done so that no two enemies are among the chosen knights?
Solve this problem for the case when knights need to be chosen from knights seated at the table.
Prove the inclusion–exclusion principle in set-theoretic form: if are finite sets, then
How many of the first hundred positive natural numbers are not divisible by any of the numbers ? And among the first thousand numbers?
Determine how many integer solutions the following system has:
Find the number of permutations of elements in which no element remains in its original position.
How many permutations of the letters are there if
there are no restrictions;
there must be two or three letters between and ;
the letters and must not be separated by two or three letters;
the first four letters must be chosen from and ;
the letters and must stand next to each other?
Two teams play volleyball until one of them has three wins. How many different ways are there for the score to evolve across the sets?
students take part in a programming olympiad. The three people taking the prize places receive diplomas of the first, second, and third degree, and another five people receive identical laureate diplomas. How many different ways of awarding are there?
girls form a round dance. In how many different ways can they stand in a circle?
Five young men and five young women bought 10 movie tickets in the same row. In how many ways can they take their seats if
all the young men will sit together;
two young men will sit at the ends;
no two young men will sit next to each other;
neither the young men nor the young women will all sit together;
one young man and one young woman will always sit next to each other;
one young man and one young woman refuse to sit next to each other?
Prove that the number of words of length over an alphabet of letters, in which every letter occurs at least once, equals
The head of a laboratory has five employees. In how many ways can he distribute 8 distinct tasks among them so that everyone has at least one task?