Rolling die

Mabel has a standard 4-sided die with sides numbered 1 through 4. Each time Mabel rolls the die she writes down the number she rolls. After some number of rolls, the total of the numbers Mabel has written down is 5. We know that she must have rolled the dice at least twice. The expected number of times Mabel rolled the die can be expressed as 2 + a b 2+\frac{a}{b} where a a and b b are positive coprime integers. What is a + b a+b ?


The answer is 500.

This section requires Javascript.
You are seeing this because something didn't load right. We suggest you, (a) try refreshing the page, (b) enabling javascript if it is disabled on your browser and, finally, (c) loading the non-javascript version of this page . We're sorry about the hassle.

15 solutions

Michal Forišek
Jul 22, 2013

For simplicity, assume that Mabel always made 5 throws. The statement tells us that her sequence of throws was one of the following ones:

  • ( 1 , 1 , 1 , 1 , 1 ) (1,1,1,1,1)
  • ( 1 , 1 , 1 , 2 , ) (1,1,1,2,\star)
  • ( 1 , 2 , 2 , , ) (1,2,2,\star,\star)
  • ( 1 , 1 , 3 , , ) (1,1,3,\star,\star)
  • ( 1 , 4 , , , ) (1,4,\star,\star,\star)
  • ( 2 , 3 , , , ) (2,3,\star,\star,\star)

In each pattern the non- \star numbers can be permuted arbitrarily, and the \star s represent throws that follow after Mabel had sum=5. Thus, each star represents an arbitrary outcome of a throw: i.e., 4 possibilities. Taking both of these into account, we can now count:

  • ( 1 , 1 , 1 , 1 , 1 ) (1,1,1,1,1) : 1 sequence
  • ( 1 , 1 , 1 , 2 , ) (1,1,1,2,\star) : 4 * 4 = 16 sequences
  • ( 1 , 2 , 2 , , ) (1,2,2,\star,\star) : 3 * 4 * 4 = 48 sequences
  • ( 1 , 1 , 3 , , ) (1,1,3,\star,\star) : 3 * 4 * 4 = 48 sequences
  • ( 1 , 4 , , , ) (1,4,\star,\star,\star) : 2 * 4 * 4 * 4 = 128 sequences
  • ( 2 , 3 , , , ) (2,3,\star,\star,\star) : 2 * 4 * 4 * 4 = 128 sequences

In total, we have: 1 sequence where Mabel needed 5 throws to get sum=5, 16 sequences with 4 throws each, 96 sequences with 3 throws each, and 256 sequences with 2 throws each.

Thus, the expected number of throws is 1 5 + 16 4 + 96 3 + 256 2 1 + 16 + 96 + 256 = 869 369 = 2 + 131 369 \frac{1\cdot 5 + 16\cdot 4 + 96\cdot 3 + 256\cdot 2}{1+16+96+256} = \frac{869}{369} = 2 + \frac{131}{369} and the answer is 131 + 369 = 500 131 + 369 = \fbox{500} .

Moderator note:

Considering Mabel to always make 5 throws is a good simplifying assumption, but what does it simplify? It simplifies the solution because it gives us a set of outcomes that each have the same probability of occurring. This allows us to simply divide by the total number of outcomes at the end of the question.

Why are you allowed to assume 5 throws every time?

Ashish Sacheti - 4 years, 11 months ago
Aishwarya Balwani
Jul 24, 2013

The minimum number of rolls needed will be 2 and the maximum number of rolls needed will be 5,in order to get a sum total of 5.

Probability of getting 5 with -

2 rolls is 1/4

3 rolls is 3/32

4 rolls is 1/64

5 rolls is 1/1024

So,total probability of rolling a 5 is = 1/4+ 3/32+ 1/64 + 1/1024 = 369/1024

Now,probability of needing -

2 rolls to roll a 5 = (1/4)/(369/1024)= 256/369 = P(2)

3 rolls to roll a 5= (3/32)/(369/1024) = 32/123 = P(3)

4 rolls to roll a 5 = (1/64)/(369/1024) = 16/369 = P(4)

5 rolls to roll a 5 = (1/1024)/(369/1024)= 1/369 = P(5)

Expected number of rolls = E(X) = x1p1 + x2p2 + x3p3 + x4p4 + x5p5

= 2 P(1) + 3 P(3) + 4 P(4) + 5 P(5) = 869/369

E(X)-2 = 869/369 - 2 = 131/369

a=131,b=369 a+b = 500

Zi Song Yeoh
Jul 23, 2013

Consider 5 dice rolls.

The number of possibilities for two dice rolls is 4 4 3 = 256 4 \cdot 4^{3} = 256 . For three dice rolls, there are 2 3 4 2 = 96 2 \cdot 3 \cdot 4^{2} = 96 possibilities. For four dice rolls, there are 4 4 4 \cdot 4 possibilities, while for five dice rolls there is only 1 1 possibility. Note that 256 + 96 + 16 + 1 = 369 256 + 96 + 16 + 1 = 369 . So, the expected value is

2 × 256 + 3 × 96 + 4 × 16 + 5 × 1 369 = 869 369 \frac{2 \times 256 + 3 \times 96 + 4 \times 16 + 5 \times 1}{369} = \frac{869}{369} . So, a b = 131 369 \frac{a}{b} = \frac{131}{369} , and thus a + b = 500 a + b = \boxed{500} .

Moderator note:

This solution has the problem that if you don't already understand how to solve the question, it doesn't help.

The first line says to consider 5 rolls, but then we start considering possibilities for different numbers of rolls.

What are these possibilities we are counting?

Where do the numbers in counting them come from?

We're doing an expectation and you're dividing by the total number of possibilities. To do that, we need that the possibilities are equally likely. Are these possibilities all equally likely?

Tim Vermeulen
Jul 23, 2013

Denote W ( n ) W(n) as the set of all possible ways that the total of the numbers Mabel has written down after n n rolls is 5 5 .

W ( 2 ) = { ( 1 , 4 ) , ( 2 , 3 ) , ( 3 , 2 ) , ( 4 , 1 ) } , W ( 3 ) = { ( 1 , 1 , 3 ) , ( 1 , 2 , 2 ) , ( 1 , 3 , 1 ) , ( 2 , 1 , 2 ) , ( 2 , 2 , 1 ) , ( 3 , 1 , 1 ) } , W ( 4 ) = { ( 1 , 1 , 1 , 2 ) , ( 1 , 1 , 2 , 1 ) , ( 1 , 2 , 1 , 1 ) , ( 2 , 1 , 1 , 1 ) } , W ( 5 ) = { ( 1 , 1 , 1 , 1 , 1 ) } . \begin{aligned} W(2) &= \{ (1,4), (2,3), (3,2), (4,1) \},\\ W(3) &= \{ (1,1,3), (1,2,2), (1,3,1), (2,1,2), (2,2,1), (3,1,1) \},\\ W(4) &= \{ (1,1,1,2), (1,1,2,1), (1,2,1,1), (2,1,1,1) \},\\ W(5) &= \{ (1,1,1,1,1) \}. \end{aligned}

The chance for any sequence of n n rolls with a 4-sided die to come up, is 1 4 n \frac{1}{4^n} . Denote P 1 ( n ) P_1(n) as the probability that after n n rolls, the total adds up to 5 5 .

P 1 ( 2 ) = W ( 2 ) 1 4 2 = 4 16 = 1 4 , P 1 ( 3 ) = W ( 3 ) 1 4 3 = 6 64 = 3 32 , P 1 ( 4 ) = W ( 4 ) 1 4 4 = 4 256 = 1 64 , P 1 ( 5 ) = W ( 5 ) 1 4 5 = 1 1024 . \begin{aligned} P_1(2) &= \lvert W(2) \rvert \cdot \frac{1}{4^2} = \frac{4}{16} = \frac{1}{4},\\ P_1(3) &= \lvert W(3) \rvert \cdot \frac{1}{4^3} = \frac{6}{64} = \frac{3}{32},\\ P_1(4) &= \lvert W(4) \rvert \cdot \frac{1}{4^4} = \frac{4}{256} = \frac{1}{64},\\ P_1(5) &= \lvert W(5) \rvert \cdot \frac{1}{4^5} = \frac{1}{1024}. \end{aligned}

Note that these probabilities do not add up to 1 1 , but to 369 1024 \frac{369}{1024} . This is because if you were to roll a 4-sided dice several times, you might just skip over 5 5 . However, we're already told that the numbers Mabel wrote down add up to 5 5 , so:

P 2 ( 2 ) = P 1 ( 2 ) 369 / 1024 = 256 369 , P 2 ( 3 ) = P 1 ( 3 ) 369 / 1024 = 96 369 , P 2 ( 4 ) = P 1 ( 4 ) 369 / 1024 = 16 369 , P 2 ( 5 ) = P 1 ( 5 ) 369 / 1024 = 1 369 , \begin{aligned} P_2(2) &= \frac{P_1(2)}{369/1024} = \frac{256}{369},\\ P_2(3) &= \frac{P_1(3)}{369/1024} = \frac{96}{369},\\ P_2(4) &= \frac{P_1(4)}{369/1024} = \frac{16}{369},\\ P_2(5) &= \frac{P_1(5)}{369/1024} = \frac{1}{369},\\ \end{aligned}

where P 2 ( n ) P_2(n) denotes the probability that, when given that the total adds up to 5 5 , then that total is reached after n n rolls. Now, all that's left is calculating the expected value E E :

E = 2 256 369 + 3 96 369 + 4 16 369 + 5 1 369 = 2 + 131 369 . E = 2 \cdot \frac{256}{369} + 3 \cdot \frac{96}{369} + 4 \cdot \frac{16}{369} + 5 \cdot \frac{1}{369} = 2 + \frac{131}{369}.

So, a + b = 131 + 369 = 500 a+b=131+369=\boxed{500} .

Quang Minh Bùi
Jul 23, 2013

With i i is the number of rolls, the probability of a sequence of number is n i = 1 4 i n_i = \frac {1}{4^i} .

As the composition of an integer theory, the number of ways to write s s as the sum of a sequence of k k elements is ( s 1 k 1 ) {s-1\choose k-1} . In this problem, s s is 5 5 and k k is the number of rolls.

Therefore, if Mabel rolls twice, the number of sequences is n 2 = ( 5 1 2 1 ) = ( 4 1 ) = 4 n_2 = {5-1\choose 2-1} = {4 \choose 1} = 4 and the probability of each sequence is p 2 = 1 4 2 p_2 = \frac {1}{4^2} .

If Mabel rolls 3 times, n 3 = ( 4 2 ) = 6 n_3 = {4 \choose 2} = 6 and p 3 = 1 4 3 p_3 = \frac {1}{4^3} .

If Mabel rolls 4 times, n 4 = ( 4 3 ) = 4 n_4 = {4 \choose 3} = 4 and p 4 = 1 4 4 p_4 = \frac {1}{4^4} .

If Mabel rolls 5 times, n 5 = ( 4 4 ) = 1 n_5 = {4 \choose 4} = 1 and p 5 = 1 4 5 p_5 = \frac {1}{4^5} .

Thus, the expected value is E = i = 2 5 i n i p i i = 2 5 n i p i = 2 4 / 4 2 + 3 6 / 4 3 + 4 4 / 4 4 + 5 1 / 4 5 4 / 4 2 + 6 / 4 3 + 4 / 4 4 + 1 / 4 5 = 869 369 E = \frac {\sum_{i=2}^5 i n_i p_i}{\sum_{i=2}^5 n_i p_i} = \frac {2 \cdot 4/4^2 + 3 \cdot 6/4^3 + 4 \cdot 4/4^4 + 5 \cdot 1/4^5}{4/4^2 + 6/4^3 + 4/4^4 + 1/4^5} = \frac {869}{369}

Finally, a b \frac {a}{b} = 131 369 \frac {131}{369} and the final solution is 131 + 369 = 500 131 + 369 = 500

Daniel Liu
Jul 28, 2013

We look at the partitions of 5. There are 4 partitions of 5 with 2 ordered terms, namely (1,4),(2,3),(3,2),(4,1). The total amount of ordered pairs of 2 is 4 × 4 = 16 4\times4=16 . Therefore the probability is 4 16 = 1 4 \dfrac{4}{16}=\dfrac{1}{4} . We do similarly for 3, 4, and 5 ordered terms. For 3, there are 6 different ordered triplets. The probability is therefore 6 4 3 = 3 32 \dfrac{6}{4^3}=\dfrac{3}{32} . For 4, there are 4 ordered quadruplets. The probability is 4 4 4 = 1 64 \dfrac{4}{4^4}=\dfrac{1}{64} . For 5, there is only one ordered quintuplet. Therefore the probability is 1 4 5 = 1 1024 \dfrac{1}{4^5}=\dfrac{1}{1024} . The expected value of the number of rolls is therefore E ( x ) = 2 1 4 + 3 3 32 + 4 1 64 + 5 1 1024 1 4 + 3 32 + 1 64 + 1 1024 = 869 369 = 2 + 131 369 E(x)=\dfrac{2\cdot\dfrac{1}{4}+3\cdot\dfrac{3}{32}+4\cdot\dfrac{1}{64}+5\cdot\dfrac{1}{1024}}{\dfrac{1}{4}+\dfrac{3}{32}+\dfrac{1}{64}+\dfrac{1}{1024}}=\dfrac{869}{369}=2+\dfrac{131}{369} so the answer is 131 + 369 = 500 131+369=\boxed{500}

Caio Pelicioni
Jul 23, 2013

Clearly, the maximum number of rolls is 5 5 . And the minimum was given to us, 2 2 .

When the dice is rolled two times, the number of cases that give us sum five is 4 4 , and the probability is 4 4 2 \frac{4}{4^{2}} . (The probability here is the number of cases that give us sum five divided by the total number of cases.)

When the dice is rolled three times, the number of cases that give us sum five is 6 6 , and the probability is 6 4 3 \frac{6}{4^{3}} .

When the dice is rolled four times, the number of cases that give us sum five is 4 4 , and the probability is 4 4 4 \frac{4}{4^{4}}

Finally, when the dice is rolled five times, the number of cases that give us sum five is 1 1 , and the probability is 1 4 5 \frac{1}{4^{5}} .

At this point, we just need to calculate our expected value:

E V = 2 ( 4 4 2 ) + 3 ( 6 4 3 ) + 4 ( 4 4 4 ) + 5 ( 1 4 5 ) 4 4 2 + 6 4 3 + 4 4 4 + 1 4 5 EV = \frac{2(\frac{4}{4^{2}}) + 3(\frac{6}{4^{3}}) + 4(\frac{4}{4^{4}}) + 5(\frac{1}{4^{5}})}{\frac{4}{4^{2}} + \frac{6}{4^{3}} + \frac{4}{4^{4}} + \frac{1}{4^{5}}}

E V = 869 369 EV = \frac{869}{369}

But our reached value for EV can be expressed as 2 + 131 369 2 + \frac{131}{369} .

Therefore, our answer is 131 + 369 = 500 131 + 369 = 500 .

Daniel Chiu
Jul 22, 2013

First, we count how many ways she can roll to 5. To calculate this, for n n rolls, we must find the number of ways to split 5 into n n parts that are at least 1. This means we must find the number of ways to split 5 n 5-n into n n nonnegative parts. This is simply ( 5 n + ( n 1 ) n 1 ) = ( 4 n 1 ) \dbinom{5-n+(n-1)}{n-1}=\dbinom{4}{n-1} .

In two rolls, there are 4 ways. In three rolls, there are 6 ways. In four rolls, there are 4 ways. In five rolls, there is 1 way.

Now, we are given that she rolls a total of 5. We can calculate the probability for each of our above sequences of rolls, but then we must normalize them, since not every roll is possible.

The probability of rolling in two rolls is 4 1 16 4\cdot\dfrac{1}{16} .

The probability of rolling in three rolls is 6 1 64 6\cdot\dfrac{1}{64} .

The probability of rolling in four rolls is 4 1 256 4\cdot\dfrac{1}{256} .

The probability of rolling in five rolls is 1 1 1024 1\cdot\dfrac{1}{1024} .

These add to 369 1024 \dfrac{369}{1024} , so our normalized probabilities are 256 369 \dfrac{256}{369} , 96 369 \dfrac{96}{369} , 16 369 \dfrac{16}{369} , and 1 369 \dfrac{1}{369} . Now, our expected value is 2 256 369 + 3 96 369 + 4 16 369 + 5 1 369 = 869 369 = 2 131 369 2\cdot\dfrac{256}{369}+3\cdot\dfrac{96}{369}+4\cdot\dfrac{16}{369}+5\cdot\dfrac{1}{369}=\dfrac{869}{369}=2\dfrac{131}{369} Therefore, the answer is 131 + 369 = 500 131+369=\boxed{500} .

Hero P.
Jul 21, 2013

There are 6 non-ordered partitions of the integer 5 into two or more terms: 5 = 1 + 1 + 1 + 1 + 1 = 1 + 1 + 1 + 2 = 1 + 1 + 3 = 1 + 2 + 2 = 1 + 4 = 2 + 3. \begin{aligned} 5 &= 1+1+1+1+1 \\ &= 1+1+1+2 \\ &= 1+1+3 \\ &= 1+2+2 \\ &= 1+4 \\ &= 2+3. \end{aligned} The probability of observing the first case is 1 4 5 \frac{1}{4^5} ; the second ( 4 1 ) 1 4 4 = 1 4 3 = 1 64 \binom{4}{1} \frac{1}{4^4} = \frac{1}{4^3} = \frac{1}{64} ; the third and fourth ( 3 1 ) 1 4 3 = 3 64 \binom{3}{1} \frac{1}{4^3} = \frac{3}{64} ; and the fifth and sixth ( 2 1 ) 1 4 2 = 1 8 \binom{2}{1} \frac{1}{4^2} = \frac{1}{8} , since we must account for the order of the terms. Let N N be the number of dice rolls given the conditions. Then E [ N ] = n = 2 5 n Pr [ N = n ] n = 2 5 Pr [ N = n ] = 2 ( 1 / 8 + 1 / 8 ) + 3 ( 3 / 64 + 3 / 64 ) + 4 ( 1 / 64 ) + 5 ( 1 / 1024 ) 1 / 8 + 1 / 8 + 3 / 64 + 3 / 64 + 1 / 1024 = 869 369 = 2 + 131 369 , \begin{aligned} {\rm E}[N] &= \frac{\sum_{n=2}^5 n \Pr[N = n]}{\sum_{n=2}^5 \Pr[N = n]} \\ &= \frac{2(1/8 + 1/8) + 3(3/64 + 3/64) + 4(1/64) + 5(1/1024)}{1/8+1/8+3/64+3/64+1/1024} \\ &= \frac{869}{369} = 2 + \frac{131}{369}, \end{aligned} from which we find a + b = 131 + 369 = 500 . a + b = 131 + 369 = \boxed{500}.

Nice solution, Hero P.

Recursion is another way of doing it: Let E n E_n be the expected number of rolls if the total of the numbers is n n (instead of 5). Then E 1 = 1 E_ 1 = 1 , E n = ( m = min ( 1 , n 4 ) n 1 E m P m ) / ( 4 P n ) + 1 E_n =\left ( \sum _{m=\min (1,n-4)} ^{n-1} E_m P_m \right ) /(4P_n) +1 where P n P_n is the overall probability of the number n n being "hit".

Then P 1 = 1 / 4 P_ 1 = 1/ 4

P 2 = 5 / 16 P_ 2 = 5/ 16

P 3 = 25 / 64 P_ 3 = 25/ 64

P 4 = 125 / 256 P_ 4 = 125/ 256

P 5 = 369 / 1024 P_ 5 = 369/1024

and E 2 = 6 / 5 E_ 2 = 6/ 5 ,

E 3 = 7 / 5 E_ 3 = 7/ 5 ,

E 4 = 8 / 5 E_ 4 = 8/ 5 ,

E 5 = 869 / 369 E_ 5 = 869/ 369 .

Peter Byers - 7 years, 10 months ago

Log in to reply

P.S. The given P n P_n values can be computed by P n = ( m = min ( 0 , n 4 ) n 1 P m ) / 4 P_n =\left ( \sum _{m=\min (0,n-4)} ^{n-1} P_m \right ) /4 where we define P 0 = 1 P_0=1 .

Peter Byers - 7 years, 10 months ago

I think you missed one 1 64 \dfrac{1}{64} in denominator on your calculation. Hero P.

Christyan Tamaro Nadeak - 7 years, 10 months ago

when dice is trown two time so total number of cases of sum five (1 4)(4 1)(2 3)(3 2) or 4 cases the probability 4 / 4^2 (as 16 is total number of cases) when dice thrown 3 times total cases are 6 and probablilty 6 / 4^3 again when thrown 4 time stotal number of cases=4 then probablity=4 / 4^4 or five rolls there is only one way (1 1 1 1 1) and probability=1 / 4^5 now calcuate expected value E[x]=[2*(4/4^2)+3(6/4^3)+4(4/4^4)+5(1/4^5)]/[4/(4^2)+6/4^3+4/4^4+1/4^5] =869/369 or E[x]= 2+131/369 so answer is 131+369=500

This solution matches word to word with that submitted by Evan C. , Debjit M. , and Sanjay M. . Just asking out of curiosity, how is this possible?

Sreejato Bhattacharya - 7 years, 10 months ago

I did a little digging and I found this: "reflection009 @brilliantperson123 when dice is trown two time so total number of cases of sum five (1 4)(4 1)(2 3)(3 2) or 4 cases the probability 4/4^2 (as 16 is total number of cases) lly when dice thrown 3 times total cases are 6( chk urself) and probablilty 6/4^3 again when thrown 4 time stotal number of cases=4 then probablity=4/4^4 or five rolls there is only one way (1 1 1 1 1) and probability=1/4^5 now calcuate ecxpected value E[x]=[2⋅(4/4^2)+3(6/4^3)+4(4/4^4)+5(1/4^5)]/[4/(4^2)+6/4^3+4/4^4+1/4^5] =869/369 orE[x]= 2+131/369 so answer is 131+369=500" This I found on PaGaLGuy. Here is the link: http://www.pagalguy.com/forums/quantitative/brilliant-org-problems-solutions-t-101694/p-17045293/r-17047415 Why do people cheat like this?

Daniel Liu - 7 years, 10 months ago
Debjit Mandal
Jul 24, 2013

When dice is thrown 2 2 time so total number of cases of sum five ( 1 1 , 4 4 )( 4 4 , 1 1 )( 2 2 , 3 3 )( 3 3 , 2 2 ) i.e. 4 4 cases. So, the probability is 4 4 2 \frac{4}{4^2} (as 16 is total number of cases). Similarly, when dice thrown 3 3 times total cases are 6 and probability is 6 4 3 \frac{6}{4^3} . Again when thrown 4 4 times total number of cases is 4 4 then the probability is 4 4 4 \frac{4}{4^4} . At last, when 5 5 rolls there is only one way (1,1,1,1,1) and probability is 1 4 5 \frac{1}{4^5} . Now by calculating expected value, E E [ x x ]= 2. 4 4 2 + 3. 6 4 3 + 4. 4 4 4 + 5. 1 4 5 4 4 2 + 6 4 3 + 4 4 4 + 1 4 5 \frac{2.\frac{4}{4^2} + 3.\frac{6}{4^3} + 4.\frac{4}{4^4} + 5.\frac{1}{4^5}}{\frac{4}{4^2} + \frac{6}{4^3} + \frac{4}{4^4} + \frac{1}{4^5}} E E [ x x ]= 869 369 \frac{869}{369} E E [ x x ]= 2 2 + 131 369 \frac{131}{369} so answer is 131 131 + 369 369 = 500 500

Sanjay Meena
Jul 24, 2013

when dice is thrown two time so total number of cases of sum five (1 4)(4 1)(2 3)(3 2) or 4 cases the probability 4/4^2 (as 16 is total number of cases) similarly when dice thrown 3 times total cases are 6( check yourself) and probablilty 6/4^3 again when thrown 4 times total number of cases= 4 then probablity=4/4^4 or five rolls there is only one way (1 1 1 1 1) and probability=1/4^5 now calculate expected value E[x]=[2⋅(4/4^2)+3(6/4^3)+4(4/4^4)+5(1/4^5)]/[4/(4^2)+6/4^3+4/4^4+1/4^5] =869/369

or E[x]= 2+131/369

so answer is 131+369=500

Danny He
Jul 23, 2013

If we were to construct a series of tables to represent the sum totals of the dice after a certain number of rolls, then we would see that in two rolls there are 4 16 \frac{4}{16} ways to get a total of 5 5 . For three rolls there are 6 64 \frac{6}{64} ways, for four rolls there are 4 256 \frac{4}{256} ways, and for five rolls there are 1 1024 \frac{1}{1024} ways.

If we multiplied up by 1024 1024 , we would expect 256 , 96 , 16 , 1 256, 96,16,1 fives from 2 , 3 , 4 , 5 2,3,4,5 rolls respectively.

Our expected total can be calculated as 2 256 + 3 96 + 4 16 + 5 1 256 + 96 + 16 + 1 = 869 369 = 2 131 369 \frac{2*256+3*96+4*16+5*1}{256+96+16+1} = \frac{869}{369} = 2\frac{131}{369}

So a + b = 131 + 369 = 500 a + b = 131 + 369 = 500

Evan Chien
Jul 25, 2013

when dice is trown two time so total number of cases of sum five (1 4)(4 1)(2 3)(3 2) or 4 cases the probability 4/4^2 (as 16 is total number of cases) lly when dice thrown 3 times total cases are 6( chk urself) and probablilty 6/4^3 again when thrown 4 time stotal number of cases=4 then probablity=4/4^4 or five rolls there is only one way (1 1 1 1 1) and probability=1/4^5 now calcuate ecxpected value E[x]=[2⋅(4/4^2)+3(6/4^3)+4(4/4^4)+5(1/4^5)]/[4/(4^2)+6/4^3+4/4^4+1/4^5] =869/369 orE[x]= 2+131/369 so answer is 131+369=500

Guangxuan Zhang
Jul 23, 2013

We split cases: 1,4 1/4^2x2! chance 2,3 1/4^2x2! chance

1,1,3 1/4^3x3!/2! chance 1,2,2 1/4^3x3!/2! chance

1,1,1,2 1/4^4x4!/3! chance

1,1,1,1,1 1/4^5 chance

We want to evaluate: (1/4^2x2!x2+1/4^2x2!x2+1/4^3x3!/2!x3+1/4^3x3!/2!x3+1/4^4x4!/3!x4+1/4^5x5)/(1/4^2x2!+1/4^2x2!+1/4^3x3!/2!+1/4^3x3!/2!+1/4^4x4!/3!+1/4^5) which is the sum of possibility of each case x number of rolls/sum of possibility of each case. The fraction is equals to 2 and 131/369

0 pending reports

×

Problem Loading...

Note Loading...

Set Loading...