Combinatorics Problem Set 1
Combinatorics Problem Set 1
In how many ways can a committee of 5 be formed from a group of 11 people consisting
of 4 teachers and 7 students if
(iii) a particular teacher and a particular student cannot be both in the committee?
2. There are 7 boys and 3 girls in a gathering. In how many ways can they be arranged in a
row so that
(ii) the two end-positions are occupied by boys and no girls are adjacent?
3. m boys and n girls are to be arranged in a row. Find the number of ways this can be done
in each of the following cases:
4. There are 12 students in a party. Five of them are girls. In how many ways can these 12
students be arranged in a row if
(iii) between two particular boys A and B, there are no boys but exactly 3 girls?
5. Three girls A, B and C, and nine boys are to be lined up in a row. In how many ways can
this be done if B must lie between A and C, and A, B must be separated by exactly 4 boys?
6. In how many ways can 5 boys and 3 girls be seated around a table if
7. Let S be the set of natural numbers whose digits are chosen from {1, 3, 5, 7} such that no
digits are repeated. Find number of elements of S and sum of the elements of S.
8. Using the numbers 1, 2, 3, 4, 5 we can form 5!(= 120) 5-digit numbers in which the 5 digits
are all distinct. If these numbers are listed in increasing order: 12345, 12354, 12435,. . . . Find
the position of the number 35421 and the 100 th number in the list.
1
n
11. Given positive integers r and n with r ≤ n, let be the number of ways to arrange n
r
distinct objects around r indistinguishable circles such that each circle has at least one object.
Show that
n n−1 n−1
= + (n − 1) .
r r−1 r
These numbers are known as Stirling Numbers of First kind.
n
12. Given positive integers r and n with r ≤ n, let be the number of ways to arrange n
r
distinct objects in r indistinguishable box such that each box has at least one object. Show
that
n n−1 n−1
= +r .
r r−1 r
These numbers are known as Stirling Numbers of Second kind.
13. Let X = {1, 2, . . . , n}. Show that the
number of subsets of X having r elements, which
contain no consecutive integers is n−r+1
r .
14. Find the number of ways of distributing r distinct objects into n identical boxes so that
no box is empty and the objects in each box are arranged in a row.
15. Find the number of integer solutions to the equation x1 + x2 + x3 + x4 + x5 + x6 = 60,
in each of the following cases:
(i) xi > i − 1 for each i = 1, 2, . . . , 6;
(ii) x1 ≥ 2, x2 ≥ 5, 2 ≤ x3 ≤ 7, x4 ≥ 1, x5 ≥ 3, x6 ≥ 2.
16. Find the number of integer solutions to the equation: x1 + x2 + x3 + x4 = 30, in each of
the following cases:
(i) xi > 0 for each i = 1, 2, 3, 4;
2
21. A positive integer d is said to be ascending if in its decimal representation: d = dm dm−1 . . . d2 d1
we have 0 ≤ dm ≤ dm−1 ≤ · · · ≤ d2 ≤ d1 . For instance, 1337 and 2455566799 are ascending
integers. Find the number of ascending integers which are less than 109 .
24. Prove each of the following using binomial theorem and again using a combinatorial
argument
(i) n0 + n1 + · · · + n−1 n
+ nn = 2n .
P n P n n−1 .
(ii) r odd r = r even r = 2
Pn n
n
n
n
n−1 .
(iii) r=0 r r = 1 1 + 2 2 + · · · + n n = n2
Pr m n m+n
(iv) i=0 i r−i = r .
29. The number 4 can be expressed as a sum of one or more positive integers, taking order
into account, in 8 ways: 4 = 1+3 = 3+1 = 2+2 = 1+1+2 = 1+2+1 = 2+1+1 = 1+1+1+1.
In how many ways can a positive integer n be so expressed?
30. Show that the number of distinct terms in the expansion of (x1 + · · · + xm )n is n+m−1
n .
r r+1 n n+1
32. r + r + ··· + r = r+1 .
33. Show that for any set of 10 points chosen within a square whose√ sides are of length 3
units, there are two points in the set whose distance apart is at most 2.
34. Show that among any 5 points in an equilateral triangle of unit side length, there are 2
whose distance is at most 12 units apart.
35. Given any set S of 9 points within a unit square, show that there always exist 3 distinct
points in S such that the area of the triangle formed by these 3 points is less than or equal
to 18 .
36. Show that given any set of 5 numbers, there are 3 numbers in the set whose sum is
divisible by 3.
3
37. Let A be a set of n + 1 elements. Show that there exist a, b ∈ A with a 6= b such that
n|(a − b).
38. Show that among any group of n people, where n ≥ 2, there are at least two people
who know exactly the same number of people in the group (assuming that “knowing” is a
symmetry relation).
39. Prove that at a gathering of any six people some three of them are either mutual acquain-
tances or complete strangers to one another.
40. Six points are in general position in space (no three in a line, no four in a plane). The
fifteen line segments joining them in pairs are drawn, and then painted with some segments
red and the rest blue. Prove that some triangle has all its sides the same colour.
41. Seventeen people correspond by mail with one another - each one with all the rest. In
their letters only three different topics are discussed. Each pair of correspondents deals with
only one of these topics. Prove that there are at least three people who write to one another
about the same topic.
42. Let A be a set of m positive integers where m > 1. Show that there exists a non-empty
subset B of A such that the sum of the elements of B is divisible by m.
43. Let A ⊆ {1, 2, . . . , 2n} such that |A| = n + 1. Show that there exist a, b ∈ A, with a 6= b
such that a, b are co-prime.
44. Let a, b, c, d be integers. Show that 12|(a − b)(a − c)(a − d)(b − c)(b − d)(c − d).
45. From 52 positive integers we can select two such that their sum or difference is divisible
by 100.
(i) divisible by 2, 3 or 5.
(ii) none of 2, 3, 5.
(v) all of 2, 3, 5.