841 views
1 votes
1 votes
If I have 4 digit number formed using 5,6,7,8. What is the sum of all such 4 digit numbers?

Please provide the detailed solution, I am unable to follow counting problems. Thank You.

2 Answers

0 votes
0 votes
for getting the sum of 4 digits numbers we can apply the formula as follows:-

(sum of given digits) * 1111...n (given number of digits) * (number of digits-1)!

eg:- to find the sum of 4 digits using 5 , 6 , 7 , 8

sol:- (5+6+7+8) * (1111) * ( 4-1 )! =173316

=
0 votes
0 votes

There are $4!=24$ such numbers. We can index them with $i=1,…,24$ and write each of them as

$n_{i}=a_{i}+10b_{i}+100c_{i}+1000d_{i}$

Then

$\sum_{i=1}^{24}n_{i}=\sum_{i=1}^{24}a_{i}+10\sum_{i=1}^{24}b_{i}+100\sum_{i=1}^{24}c_{i}+1000\sum_{i=1}^{24}d_{i}$


$\left\{ i\mid a_{i}=5\right\}, \left\{ i\mid a_{i}=6\right\},\left\{ i\mid a_{i}=7\right\}$ and $\left\{ i\mid a_{i}=8\right\}$

Since it's a $4$ digit number, each digit will appear $6=\frac{24}{4}$ times in each of units, tens, hundreds, and thousands place, So:

$\sum_{i=1}^{24}a_{i}=6.5+6.6+6.7+6.8=6(5+6+7+8)=156$

This can also be applied for $b,c$ and $d$ and finally we find:

$\sum_{i=1}^{24}n_{i}=156+10*156+100*156+1000*156=1111*156=173316$

Related questions

1 votes
1 votes
1 answer
1
Lakshman Bhaiya asked Oct 24, 2018
551 views
A number of ways we can arrange letters of the word " TESTBOOK " such that E always comes between O's is ___________
2 votes
2 votes
0 answers
4
AnilGoudar asked Jan 11, 2018
434 views
I am solving with Pigeon Hole Principle. Please correct me if I am wrong.Considering the required number of books as pigeons, days of the month as pigeonholes with 3 pige...