retagged by
1,204 views
0 votes
0 votes
Find the sum of all four digit numbers that can be formed by the digits {0,1,2,3,4}?

a)183450

b)259980

c)266640

d)6600
retagged by

1 Answer

Best answer
2 votes
2 votes

Option (b)  is correct.

Method 1(Using Expectation):


No. of 4 digit no possible using {0,1,2,3,4}   =  4*4*3*2  =  96

Now expected value of first digit in any given no. = (1 +2 +3 +4)/4 =  5/2

Now sum of all digits : 0 +1 + 2 +3 + 4 = 10

= sum of all five expected digits = E[1st digit] + 4* E[other digit except 1st] = 5/2 + 4*E[other digit except 1st] 

Hence ,4*E[other digit except 1st]  = 10 - 5/2  = 15/2 => E[other digit except 1st]  = 15/8

Now since there are 96 numbers, Hence total sum = 96*[5/2 *103 + 15/8 * 102  + 15/8 * 101  + 15/8 * 100] =  259980

Method 2:


First let us assume number can start with '0' also. Total no of such no : 5*4*3*2  =120.

Frequency of each digit at unit or tens or hundred or thousand place  = 120/5 = 24.

Total sum of digits at unit place  =  24[0+1+2+3+4] = 240

Total sum of all digits  = 240[

So, total sum = 24*[10+ 102  + 101  + 10] = 266640

In this sum ,we have included those no's also which starts with '0'.so we have to deduct those sum.

 No. of no starting with '0' = 4*3*2 = 24

Hence frequency of each digit {1,2,3,4} at unit ,tens ,hundred place  = 24/4 =6 

sum of digits at unit place =  6*[1+2+3+4]= 60. 

Total sum of no starting with '0' = 60*[102  + 101  + 100 ] = 6660

Hence required sum is  = 266640 - 6660  = 259980

selected by

Related questions

0 votes
0 votes
1 answer
1
Lakshman Bhaiya asked Oct 29, 2018
743 views
What is the sum of all $5-$digit numbers possible using with the numbers $ 1,3,5,7,9$(Repetition is not allowed)?$A)6666660$ $B)6666600$$...
0 votes
0 votes
2 answers
2
. asked Mar 26, 2017
1,350 views
Suppose a 6 digit number N is formed by rearranging the digits of the number 123456. If N is divisible by 5, then the set of all possibleremainders when N is divided by 4...
0 votes
0 votes
2 answers
3
Amiti7 asked Sep 17, 2015
579 views
5 votes
5 votes
1 answer
4
dd asked Jun 8, 2020
1,212 views
How many pairs $(x,y)$ such that $x+y <= k$, where x y and k are integers and $x,y>=0, k 0$.Solve by summation rules.Solve by combinatorial argument.