SOLUTION: A four digit number is to be formed using the digit 0,1,2,3,5, find total number of sum of all the number which can be formed?

Algebra.Com
Question 1074454: A four digit number is to be formed using the digit 0,1,2,3,5, find total number of sum of all the number which can be formed?
Answer by AnlytcPhil(1806)   (Show Source): You can put this solution on YOUR website!
I will assume that we can use the same digit more than once,
since it is not stated that we cannot.  

First we calculate it as though the 1st digit could be 0.
[We know it can't be 0 for such numbers would only have 3 or
fewer digits.  Hoever we'll subtract those afterwards.]

If the first digit could be 0, there would be 5 ways to
choose each of the 4 digits or 5^4 or 625 "5-digit" numbers,
some with 0's coming first.

This would be a list of 625 numbers to add like this:

0000
0001
...
5555
----
SUM

In any column of that addition there are exactly as many of any
one of the 5 digits as any other.  So there are 625/5 or 125
of each digit in each column.  So the sum of each of the 4
columns is 125(0+1+2+3+5) = 1375.  So the sum of the list above
is 1375∙1000+1375∙100+1375∙10+1375 = 1375(1000+100+10+1) = 1375∙1111 =

1527626.

But from that we must subtract the sum of the "4-digit numbers" which
start with 0 and are actually have 3 or fewer digits.  That is we must 
subtract this sum:

000
001 
...
555
---
SUM

That is a list of 5^3 or 125 numbers to add.

We use the same reasoning as above:

In any column of that addition there are exactly as many of any
one of the 5 digits as any other.  So there are 125/5 or 25
of each digit in each column.  So the sum of each of the 3
columns is 25(0+1+2+3+5) = 275.  So the sum of the list above
is 275∙100+275∙10+275 = 275(100+10+1) = 275∙111 = 30525

Then the final answer is 1527626 - 30525 = 1497100.

[Note, if each of the digits can only be used once, tell me in the
thank you note form below and I'll get back to you by email. No
charge ever. I do this for fun.]

Edwin

RELATED QUESTIONS

marlon randomly picked the following numbers from a deck cards: 7 8 2 0 5 8 2 9. 1. what (answered by greenestamps)
2. Three-digit numbers are formed using the digits 0, 1, 2, 3, 4, 5 and 6. Note that a... (answered by KMST)
How many four-digit numbers can be formed using the digits 1, 2, 3, 4, 5, 6, if the... (answered by mccravyedwin,Edwin McCravy,ikleyn)
A 5 digit number divisible by 3 is to formed using numbers 0,1,2,3,4,5 without repetition (answered by Edwin McCravy)
Four-Digit Number. How many four-digit numbers can be formed using the digits 0, 1, 2, 3, (answered by MathLover1,jilalbenkad)
1.How many ways 3-digit odd number can be formed by using the digit 1 to 9 when... (answered by AnlytcPhil,Edwin McCravy)
PLS HELP... ASAP... 1. Write all the three digit numbers using the digits 4,6 and 8... (answered by edjones)
A security code is to be formed by using three alphabets and four digits chosen from the (answered by Edwin McCravy)
A four digit number greater than 5000 and divisible by 5 is to be formed using the digits (answered by Edwin McCravy)