What is the sum of all numbers greater than 10000 formed by using the digits 0, 1, 2, 4, 5 no digit being repeated in any number ?
If there is only 1 digit x.
Sum of numbers = x
If there are 2 digits x & y.
Numbers formed = xy & yx
Sum of numbers = 10x + y + 10y + x = 11(x+y)
If there are 3 digits x, y & z
Numbers formed = xyz,xzy,yxz,yzx,zxy,zyx
Sum of numbers = 100(2x+2y+2z) + 10(2x+2y+2z) + 2x + 2y + 2z = 2*111*(x+y+z)
In general if there are n digits:
Sum of numbers = (n-1)!{111.... n times*(Sum of digits)}
Total numbers greater than 10000 formed using digits 0,1,2,4,5 = 5! - 4! = 120 - 24 = 96
In 120 numbers including 0 as first digit: -
Sum of numbers = 4!*11111*(0+1+2+4+5) = 24*11111*12 = 3199968
In 24 numbers with 0 as first digit:
Sum of numbers = 3!*1111*(1+2+4+5) = 6*1111*12 = 79992
The sum of all numbers greater than 10000 formed by using the digits 0, 1, 2, 4, 5 no digit being repeated in any number = 3199968 - 79992 = 3119976
IMO E