Note:
Several problems have ambiguous statements, such as #21. So there can
be different intepretations. As long as your assumption is acceptable and
your solution is consistent with your assumption, you'll receive full credit.
For those problems I only post the most common answers.
[21] (a) The secretary has to walk 9 blocks east and 7 blocks north; his path can therefore be thought of as a permutation of (a multiset of) 9 EASTs and 7 NORTHs. Therefore, there are C(9+7, 7) = 11440 possible paths.
(b)The secretary must avoid point (4,3). Paths to be avoided can
be chosen by taking one of the C(4+3, 3) paths from (0,0) to (4,3) and
catenating it with one of the C(5+4, 4) paths from (4,3) to (9,7). This
gives 11440 - C(7,3)*C(9,4) = 7030 possible paths.
[22] This one was really simple. The number of circular permutations equals the number of linear permutations divided by the total number of objects. The total number of object in this case is n+1. The number of linear permutations is, from the multiset permutation formula, equal to
(n + 1)! ---------------------------- 1! * n_1! * n_2! * ... * n_k!And that's it!
[31] Substituting
y_1 = x_1 - 2 y_2 = x_2 y_3 = x_3 + 5 y_4 = x_4 - 8we see that the problem is equivalent to finding non-negative integers y_1, y_2, y_3 and y_4 such that their sum is 25. Therefore there are C(25+4-1, 25) = C(28,3) = 3276 solutions.
[35] Since the order in which the drinks are given is unimportant, we may assume any particular order provided we do not overcount. This is a useful general principle.
There are four ways to give away the lime drink, then three ways to give away the lemon drink (because the same student may not get both). This forces us to give one orange drink each to the two students who've got nothing so far. The remaining eight orange drinks can be distributed as we like between the four students and by now we ought to see immediately that there are C(8+4-1, 8) = 165 ways to do that.
Thus the total number of ways is 4*3*165 = 1980.