Don't find all the number

The sum of all five digit numbers that can be formed using the digits 1,2,3,4 and 5 (repetition of digits not allowed)is x.Find x.


The answer is 3999960.

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.

4 solutions

Akshat Sharda
Aug 12, 2015

We can use formula ,

a b × ( s u m o f d i g i t s ) × ( 111.. . b t i m e s ) \frac{a}{b}×(sum of digits)×(111..._{‘b' times})

Where:

a a =Number of numbers that can be formed.

b b =number of digits

Thus by calculating,

5 ! 5 × 15 × 11111 \frac{5!}{5}×15×11111 = 3999960 \boxed{3999960}

I actually didn't know that formula, yet I ended up finding out the correct answer. What I did was that I realized that if you find the largest possible number (54321) you can make with the digits and the smallest possible number (12345) and then find the midpoint of the two numbers (33333), you can multiply this by the possible number of digit permutations (5! = 120) to find the answer (3999960). Is this a legitimate way to solving these problems or was it just sheer luck?

Lukas Leibfried - 5 years, 9 months ago

Log in to reply

My friend you are absolutely correct . ^_^ You can solve problems like this by your way also.

Akshat Sharda - 5 years, 9 months ago
Ong Zi Qian
Jan 26, 2018

Assume that the first number is 1 1 ,

the second number has 4 4 probabilities ( 5 , 4 , 3 5, 4, 3 and 2 2 ), then

the third number has 3 3 probability left, then

the forth number has 2 2 probability left, then

the last number has 1 1 probability left.

\Rightarrow the numbers of five digits numbers that starts with 1 1 is 4 3 2 1 = 24 4*3*2*1=24 . (Similarly, we can prove that the numbers of five digits numbers that starts with 2 , 3 , 4 2, 3, 4 and 5 5 is also 24 24 .)

By the same way, we can prove that the number 1 1 appears at other digits 24 24 times. (And also the other numbers.)

When we add all the five digit numbers that can be formed using the digits 1 , 2 , 3 , 4 1,2,3,4 and 5 5 , every digits is added 24 24 times.

Therefore, the sum of all five digit numbers that can be formed using the digits 1 , 2 , 3 , 4 1,2,3,4 and 5 5 (repetition of digits is not included)is

24 ( 1 + 2 + 3 + 4 + 5 ) 11111 = 24 15 11111 = 360 11111 = 3999960 24*(1+2+3+4+5)*11111\\=24*15*11111\\=360*11111\\=\boxed{3999960} .

Darius B
Nov 11, 2016

Imagine writing all the possible numbers in a list like

12345

12354

12435

...

There are exactly 4! numbers in which the digit 1 is in the first place, and 4! as well where the digit is in 2. place and so on. Same goes for the other digits. Therefore adding all these numbers place by place we get ( 1 + 2 + 3 + 4 + 5 ) 4 ! + ( 1 + 2 + 3 + 4 + 5 ) 4 ! 10 + ( 1 + 2 + 3 + 4 + 5 ) 4 ! 1 0 2 + ( 1 + 2 + 3 + 4 + 5 ) 4 ! 1 0 3 + ( 1 + 2 + 3 + 4 + 5 ) 4 ! 1 0 4 = 3999960 (1+2+3+4+5)*4!+(1+2+3+4+5)*4!*10+(1+2+3+4+5)*4!*10^2+(1+2+3+4+5)*4!*10^3+(1+2+3+4+5)*4!*10^4=3999960

Naitik Sanghavi
Jul 23, 2015

24×15×11111

0 pending reports

×

Problem Loading...

Note Loading...

Set Loading...