EXERCISE SOLUTIONS

SOLUTIONS FOR CHAPTER 1

1.5 There are 299 binary strings of length 99. Half of these, 298, have an odd number of 1′s. The reason is that, regardless of the first 98 bits, the last bit may be chosen to make the total number of 1′s even or odd.
1.7 There are nn such functions.
1.17 There are 2n2 different binary relations on an n-set.
1.20 Since the tenth row of Pascal’s triangle is 1, 10, 45, 120, 210, 252, 210, 120, 45, 10, 1, we have (a + b)10 = a10 + 10a9b + 45a8b2 + 120a7b3+210a6b4 + 252a5b5 + 210a4b6 + 120a3b7 + 45a2b8 + 10ab9 + b10.
1.21 By the binomial theorem, the coefficient is = 184,756.
1.25 By the multinomial theorem, (a + b + c)4 = a4 + 4a3b + 6a2b2 + 4ab3 + b4 + 4a3c 12a2bc + 12ab2c + 4b3c + 6a2c2 + 12abc2 + 6b2c2 + 4ac3 + 4bc3 + c4.
1.26 By the multinomial theorem, the coefficient is = 22,170,720.
1.27 By simplifying, we see that

equation

1.30 (a) The number of paths is = 3,268,760.
(b) The number of paths is = 10,361,546,974,682,663,760.
1.32 The identity to ...

Get Introduction to Combinatorics, 2nd Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.