Random Number Multiplication

Three integers, a a , b b , and c c are chosen randomly from the following ranges:

1 a 5 2 b 6 3 c 7 \begin{aligned} 1 \leq a& \leq 5 \\ 2 \leq b& \leq 6 \\ 3 \leq c& \leq 7 \end{aligned}

For all possible combinations of a a , b b , and c c , what is the mean average of the values given by a b c abc ?


The answer is 60.

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.

2 solutions

Daniel Hinds
Mar 8, 2019

By expanding, it can be seen that the expression ( 1 + 2 + 3 + 4 + 5 ) ( 2 + 3 + 4 + 5 + 6 ) ( 3 + 4 + 5 + 6 + 7 ) (1+2+3+4+5)(2+3+4+5+6)(3+4+5+6+7) gives the sum of all possible ways that 3 numbers from the given ranges can be multiplied together. The total number of ways a a , b b , and c c can be combined is 5 5 5 = 125 5 \cdot 5 \cdot 5 = 125 , so the mean average of the values given by a b c abc is equal to: 1 125 ( 1 + 2 + 3 + 4 + 5 ) ( 2 + 3 + 4 + 5 + 6 ) ( 3 + 4 + 5 + 6 + 7 ) = 1 125 ( 15 ) ( 20 ) ( 25 ) = 60 \begin{aligned} & \frac{1}{125}(1+2+3+4+5)(2+3+4+5+6)(3+4+5+6+7) \\ =& \frac{1}{125}(15)(20)(25) \\ =& \boxed{60} \end{aligned}

Factoring the sum of all possible values is really the best solution here! Also, it can be seen that the average of the product is the same as the product of the averages of the individual factors.

1 125 ( 1 + 2 + 3 + 4 + 5 ) ( 2 + 3 + 4 + 5 + 6 ) ( 3 + 4 + 5 + 6 + 7 ) = 1 + 2 + 3 + 4 + 5 5 2 + 3 + 4 + 5 + 5 6 3 + 4 + 5 + 6 + 7 5 = 3 4 5 = 60 \begin{aligned} & \frac 1{125} (1+2+3+4+5)(2+3+4+5+6)(3+4+5+6+7) \\ =& \frac {1+2+3+4+5}{5} \cdot \frac {2+3+4+5+5}{6} \cdot \frac {3+4+5+6+7}{5} \\ =& 3 \cdot 4 \cdot 5 \\ =& 60 \end{aligned}

Henry U - 2 years, 3 months ago

Log in to reply

Oh, I didn't notice that! Pretty cool :)

Daniel Hinds - 2 years, 3 months ago
Kyle T
Mar 11, 2019

<?php
$vals = array();
for($a=1;$a<=5;$a++){
for($b=2;$b<=6;$b++){
for($c=3;$c<=7;$c++){
$vals[] = $a * $b * $c;
}
}
}
echo array_sum($vals)/count($vals); //60
?>



0 pending reports

×

Problem Loading...

Note Loading...

Set Loading...