The question seems fairly complicated but let me break it down:
For example, you are to calculate the sum of the possible 4 digit numbers of the digits 1,2,3,4 without repetition. So all the numbers 1234,1243, 1324,1342, etc will be all added together to make one large number. Obviously this can be done by adding all 24 possible combinations and adding them together one by one. The answer to this is 66660 which is somewhat of a special number.
But lets say that we are doing this with the digits 3,4,5,6,7 and you need to figure out the sum to all possible combinations without repetition. What would be the simplest way to do this?
In conclusion, what I'm trying to ask is how would you calculate the sum of this set of numbers is there a way to do it for any set? Say 3,8,1,6 in 4 digit numbers.
(I have no idea what tag to use)