Questions are in black, solutions in blue.
Two superscripting errors (in solutions to 3a and 3b) corrected 21 April 2005 -- thanks to Gordon Morehouse.
First Counting Problem, sequences of length 8 from a three element set so n=3, k=8, nk = 38 = 6561.
Fourth Counting Problem, again n=3 and k=8, solution is k+n-i choose n-1 or 10 choose 2 which is 45.
There are 8 choose 2 = 28 ways to place the two Alaskans (Third Counting Problem, counting subsets of size 2 from the set of 8 positions.) For each of these there are 6 choose 2 = 15 ways to place the two Mixed. Once these are placed, the positions for the Siberians are fixed. By the Product Rule, there are 28 times 15 or 420 ways to place the eight dogs.
Second Counting Problem, n=8, k=4, answer 84 = 8*7*6*5 = 1680.
Base case is k=1 because we are doing induction on positive naturals. For
k=1 the probability of winning is 1 because it is impossible to throw the
same number twice in a row if you only throw once. This matches the formula
because (5/6)0 = 1.
For the inductive case, assume that the probability of winning the k-move
Game C is (5/6)k-1 and consider the k+1-move game. To win this,
the player must first win the game on the first k moves, then throw the k+1'st
die so as not to match the k'th die. By the Independence Rule, the probability
of the AND of these two events is the product of their individual
probabilities, because the die throws are independent.
The first probability is (5/6)k-1 by the inductive hypothesis.
The second probability is 5/6, because there are six equally likely ways for
the k+1'st die to come up and five of them are winning. So the resulting
probability for the k+1-move game is (5/6)k-1 times (5/6) or
(5/6)k, as desired.
There are 53 = 5*4*3 = 60 ways to choose the three letters that appear and in which order they appear. For each of the three letters, we must choose whether to make it a single or double letter. This gives us 2*2*2 = 8 strings for each no-repeat sequence of three letters, or 60*8 = 480 strings in all.
Generalizing the example, we have nk ways to choose which k of the n letters occur in which order (Second Counting Problem). For each of these we have 2k strings because each of the k letters may be single or double. This gives us nk2k strings in all.
The player's expected winnings from a single die are (6$)(1/6) + ($0)(5/6) = $1. The player's total is the sum of the winnings on each die, which is $k for k dice.
The probability of losing the game is the probability of all k throws being numbers other than 6, which by the Independence Rule is (5/6)k. The expected payoff is thus ($6)(1 - (5/6)k) + ($0)((5/6)k = ($6)(1 - (5/6)k). This is $0 if k=0, $1 if k=1, $11/6 if k=2, $91/36 if k=3, and approaches $6 as k increases (since for large k, it is almost certain that the payoff will be $6).
1 0 2
1 1 0
0 0 1
______ ______
/ \ / \
\-(1)<-/ \-(2)<-/
||^ /
|| \________________/
||
|| Please excuse the ASCII art --
|| there are loops on each vertex and
|| three other edges, two from 1 to 3
VV and one from 2 to 1.
-(3)<-
/ \
\______/
The way I intended for you to solve this problem was to use the Path-Matrix
Theorem, calculating the three matrices:
Several students found another correct solution. From inspection of the
diagram it is clear that a k-step path will consist of the edge from 2 to 1,
one of the two edges from 1 to 3, and exactly k-2 loops which may be at any
of the three vertices. The number of ways to distribute the k-2 loops among
the three vertices is an instance of the Fourth Counting Problem, with n = 3
and k = k-2. The solution is k-2+3-1 choose 2 or k choose 2, times 2 to
account for the choice of which edge is taken from 1 to 3. This gives the
correct solution of 2*0=0 for k=1, 2*1=2 for k=2, 2*6=12 for k=4, and
2*28=56 for k=8.
so that there are no one-step, 2 two-step, 12 four-step, and 56 eight-step
paths.
1 0 4 1 0 8 1 0 16
A^2 = 2 1 2 A^4 = 4 1 12 A^8 = 8 1 56
0 0 1 0 0 1 0 0 1
Last modified 21 April 2005