Find the sum of the numbers which can be formed by using all the 5 digits of 1, 2, 3, 4, 5 only once.
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.
The total numbers can be formed by the five digits 1, 2, 3, 4 and 5 is 5 ! = 1 2 0 . We note that each of the 1 to 5 digits must appear equal times, which means each digit appears 1 2 0 ÷ 5 = 2 4 times each as the unit, ten, hundred, thousand and ten-thousand digits. Therefore, the sum of all the numbers formed by 1 to 5 digits is:
S = ( 1 + 2 + 3 + 4 + 5 ) ( 1 0 4 + 1 0 3 + 1 0 2 + 1 0 1 + 1 0 0 ) ( 2 4 ) = 1 5 × 1 1 1 1 1 × 2 4 = 3 9 9 9 9 6 0 .
Problem Loading...
Note Loading...
Set Loading...
There are 4! = 24 arrangements beginning with the number 1. Similarly there are 24 numbers beginning with each of 2 through to 5.
However, there are also 24 numbers with 1 as, say, the second digit. Similarly for any digit in any of 5 positions.
Hence, for example, the sum of all the units digits will be 2 4 × 1 + 2 4 × 2 + 2 4 × 3 + 2 4 × 4 + 2 4 × 5 = 2 4 ( 1 + 2 + 3 + 4 + 5 ) = 2 4 × 1 5 = 3 6 0 .
The same is true for other digits, so the sum required is 360 + 3600 + 36000 + 360000 + 3600000 = 3999960.