Dice sums 2

Say now that we have 4 distinct dice each with 7 faces labelled 1 , 2 , 3 , 4 , 5 , 6 , 7 1,2,3,4,5,6,7 , and I roll all 4 simultaneously. Again let d 1 d_{1} be the number that comes up on the first dice, d 2 d_{2} be the number that comes up on the second dice, d 3 d_{3} be the number that comes up on the third dice and d 4 d_{4} be the number that comes up on the fourth dice. In how many ways can I roll the 4 dice in this way so that 3 divides d 1 + d 2 + d 3 + d 4 d_{1} + d_{2} + d_{3} + d_{4} ?

For the easier version, see dice sums 1 .

Image credit: Wikipedia Traitor


The answer is 800.

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.

5 solutions

Kevin Bourrillion
Apr 25, 2014

Consider the values rolled, mod 3. For each die there are two ways to roll a 0 or 2, and three ways to roll a 1.

Only the following configurations sum to 0:

  • 0 0 0 0 - in 1 possible arrangement - 2 x 2 x 2 x 2 x 1 = 16
  • 0 0 1 2 - in 12 possible arrangements - 2 x 2 x 3 x 2 x 12 = 288
  • 0 1 1 1 - in 4 possible arrangements - 2 x 3 x 3 x 3 x 4 = 216
  • 0 2 2 2 - in 4 possible arrangements - 2 x 2 x 2 x 2 x 4 = 64
  • 1 1 2 2 - in 6 possible arrangements - 3 x 3 x 2 x 2 x 6 = 216

Summing these gives 800, our answer.

suck myself... - - i forgot the 1 1 2 2 case - -

Abdullah Shahriar - 6 years, 5 months ago
Ivan Koswara
Apr 29, 2014

If the fourth roll is not 7, for any result of the first three dice there's exactly 1 3 \frac{1}{3} probability for the fourth dice so the sum is divisible by 3. Otherwise, the fourth roll is 7.

If the third roll is not 7, for any result of the first two dice combined with the fourth roll's 7, there's exactly 1 3 \frac{1}{3} probability for the third dice so the sum is divisible by 3. Otherwise, the third roll is 7.

Use the same reasoning for the second and the first dice. This way, we have shown that there's exactly 1 3 \frac{1}{3} probability for the sum to be divisible by 3 as long as not all dice show 7. This means out of 7 4 1 = 2400 7^4 - 1 = 2400 possibilities, 1 3 \frac{1}{3} of them give a sum divisible by 3 3 , or in other words 800 800 cases. The last case, all sevens, is not a desired case, so the total is 800 \boxed{800} cases.

The total number of outcomes is equal to 7 4 7^{4} . Applying a general principle, it is known that 1 3 \frac{1}{3} of all numbers is divisible by 3 3 . Of all the outcomes, the sums obtained which are divisible by 3 3 can be expressed as 7 4 3 \frac{7^{4}}{3} , rounded down.

This is 2401 3 \frac{2401}{3} = 800.33... = 800.33... , which is approximately 800 \boxed{800}

While 1/3 of all integers are divisible by 3, all integers are not equally represented here. You happened to get the right answer, but this is not a solution.

In fact, it's easy to see why your reasoning cannot be correct: use your method to find the answer if the total must be congruent mod 3 to 1, then to 2. You will get 800 for all three. So the probability of it having any result at all is 2400/2401.

Kevin Bourrillion - 7 years, 1 month ago

OMG same solution. xD By the power of simplicity! Hi-five! Though yeah I think our solution is a bit messed up somehow, though I can't understand the big words with big solutions of the solution on top. xD No offense, Mr. Kevin.

Daryl Yara - 7 years, 1 month ago

Log in to reply

Yeah, my logic is weird. Hi-five !

Nanayaranaraknas Vahdam - 7 years, 1 month ago
Eric Edwards
Apr 28, 2014

Here's a very direct method. Expand ( x + . . . + x 7 ) 4 = x 28 + 4 x 27 + 10 x 26 + 20 x 25 + 35 x 24 + 56 x 23 + 84 x 22 + 116 x 21 + 149 x 20 + 180 x 19 + 206 x 18 + 224 x 17 + 231 x 16 + 224 x 15 + 206 x 14 + 180 x 13 + 149 x 12 + 116 x 11 + 84 x 10 + 56 x 9 + 35 x 8 + 20 x 7 + 10 x 6 + 4 x 5 + x 4 (x+...+x^7)^4 = x^{28}+4 x^{27}+10 x^{26}+20 x^{25}+35 x^{24}+56 x^{23}+84 x^{22}+116 x^{21}+149 x^{20}\\+180 x^{19}+206 x^{18}+224 x^{17}+231 x^{16}+224 x^{15}+206 x^{14}+180 x^{13}+149 x^{12}+116 x^{11}+84 x^{10}\\+56 x^9+35 x^8+20 x^7+10 x^6+4 x^5+x^4 using computer algebra and add up the coefficients of the powers 6,9,...,27 to get 4 + 35 + 116 + 206 + 224 + 149 + 56 + 10 = 800 4+35+116+206+224+149+56+10=800 .

Daryl Yara
Apr 28, 2014

Easy. 1/3 of the numbers is a multiple of 3, so 7x7x7x7 is 2401, then divided by 3 is 800.33. Since it has to be a whole number, it only becomes 800.

:D

0 pending reports

×

Problem Loading...

Note Loading...

Set Loading...