total no. of such numbers = 9P4
thus for units digit , each number from 1,...9 appears 9P4 /9 times
sum of units place = 9P4 /9 * (1+2+3 + ... +9) = 630
similarly for tens , hundreds and thousands digits .
thus total sum of numbers = 630*( 100 + 101 + 102 +103) = 699930