Average of numbers

Find the average of all the 3-digit integers that can be formed using each of the digits { 1 , 4 , 5 , 7 , 8 , 9 } \{1,4,5,7,8,9\} at most once in each number.


Inspiration


The answer is 629.

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.

3 solutions

Chan Lye Lee
Mar 29, 2018

Partial Solution:

The average is ( 1 + 4 + 5 + 7 + 8 + 9 ) × 5 × 4 × 111 6 × 5 × 4 = 629 \displaystyle \frac{\left(1+4+5+7+8+9\right)\times 5\times 4 \times 111}{6\times 5\times 4 }=629 .

Joseph Newton
Mar 31, 2018

After a number n n is picked for the hundreds column, there are 5 options for the tens place and 4 options for the units place, so there are 5 × 4 = 20 5\times4=20 possible combinations with n n as the first digit. So adding up only the hundreds digits of all of the 3 digit integers of every possible n n , we get 20 × 100 ( 1 + 4 + 5 + 7 + 8 + 9 ) 20\times100(1+4+5+7+8+9) We can then do the same for the tens and units places, so the total sum of all the integers together is 20 × 100 ( 1 + 4 + 5 + 7 + 8 + 9 ) + 20 × 10 ( 1 + 4 + 5 + 7 + 8 + 9 ) + 20 × 1 ( 1 + 4 + 5 + 7 + 8 + 9 ) = 75480 20\times100(1+4+5+7+8+9)+20\times10(1+4+5+7+8+9)+20\times1(1+4+5+7+8+9)=75480 We can pick from 6 numbers for the first digit, from 5 remaining numbers for the second digit and from 4 remaining numbers for the last digit, so the total number of 3-digit integers we can form is 6 × 5 × 4 = 120 6\times5\times4=120 . Therefore the average is: 75480 120 = 629 \frac{75480}{120}=\boxed{629}

Giorgos K.
Mar 29, 2018

Mathematica

Mean[FromDigits/@Permutations[{1,4,5,7,8,9},{3}]]

returns 629

0 pending reports

×

Problem Loading...

Note Loading...

Set Loading...