The sum of all the numbers that can be formed by using all the digits 3, 2, 3, 4 is
A
39996
Right on! Give the BNAT exam to get a 100% scholarship for BYJUS courses
B
13332
No worries! We‘ve got your back. Try BYJU‘S free classes today!
C
19998
No worries! We‘ve got your back. Try BYJU‘S free classes today!
D
None of these
No worries! We‘ve got your back. Try BYJU‘S free classes today!
Open in App
Solution
The correct option is B 39996 The general formula for n digits is given by (where no digit is zero): (n−1)!×(Sumofalldigits)×111....1(ntimes) But this is when all digits are distinct. If there is a repetition, we divide the above by the factorial of number of times a repetition has occurred: 2 can come in each of the 4 places in 3!2!=3 ways. So, sum of all the 2′s = 3×(2000+200+20+2)=6666 Similarly, sum of all 4′s = 3×(4000+400+40+4)=13332 3 can come in each of the 4 places in 3!=6 ways. So, sum of all the 3′s = 6×(3000+300+30+3)=19998 Therefore, total sum = 6666+13332+19998=39996 Hence, (A) is correct.