Calculating the Total Sum of 5-Digit Numbers with and without Repetition

  • Context: MHB 
  • Thread starter Thread starter juantheron
  • Start date Start date
  • Tags Tags
    Sum
Click For Summary
SUMMARY

The discussion focuses on calculating the total sum of 5-digit numbers formed using the digits 0 through 7, both with and without repetition. When repetition is allowed, the total sum is derived using the formula \( (3584 + 35840 + 358400 + 358400 + 8^4) \times (0 + 1 + 2 + 3 + 4 + 5 + 6 + 7) \), resulting in a total of 21,288,960. For the case without repetition, the total sum is calculated using combinatorial methods, specifically \( \frac{1}{8} \left(0 + 1 + 2 + 3 + 4 + 5 + 6 + 7\right) \cdot \frac{8!}{3!} \cdot (1111) - \frac{1}{7} \cdot \frac{7!}{3!} \cdot \left(1 + 2 + 3 + 4 + 5 + 6 + 7\right) \cdot (1111) to account for the exclusion of numbers starting with zero.

PREREQUISITES
  • Understanding of combinatorial mathematics
  • Familiarity with factorial notation and permutations
  • Knowledge of basic arithmetic operations and summation
  • Ability to manipulate algebraic expressions
NEXT STEPS
  • Study combinatorial counting principles in depth
  • Learn about permutations and combinations in mathematical contexts
  • Explore the concept of digit placement in number formation
  • Investigate the implications of leading zeros in numerical calculations
USEFUL FOR

Mathematicians, educators, students studying combinatorics, and anyone interested in advanced number theory and its applications in problem-solving.

juantheron
Messages
243
Reaction score
1
The Total Sum of $5$ Digit no. which can be formed with the Digit $0,1,2,3,4,5,6,7$.

[a] when repetition of digit is allowed

when repetition of digit is not allowed
 
Physics news on Phys.org
jacks said:
The Total Sum of $5$ Digit no. which can be formed with the Digit $0,1,2,3,4,5,6,7$.

[a] when repetition of digit is allowed

when repetition of digit is not allowed


Hi Jacks, :)

I'll answer the first part of your question. By the same logic you should be able to complete the second part.

Note that we cannot have zero as the last digit (counting digits from right to left) of the number. Hence for the last digit we have only 7 possibilities. Suppose if we fix 0 as the first digit then we have \(7 \times 8^3=3584\) numbers, and the sum of the first digits of all those numbers will add up to \(0\times 7\times 8^3=0\). Similarly if we take 1 as the fist digit the sum of all those numbers will add up to \(1\times 7\times 8^3=3584\). Generally, if we add up all the ones places of the numbers the sum would be,

\[3584\times (0+1+2+3+4+5+6+7)\]

Similarly if we add up all the tenth places of the numbers the sum would be,

\[3584\times (0+10+20+30+40+50+60+70)=35840\times (0+1+2+3+4+5+6+7)\]

Continuing with this reasoning we get the total sum as,

\[(3584+35840+358400+358400+8^4)\times (0+1+2+3+4+5+6+7)=21288960\]
 
Thanks Sudhakara.My Try for (II)First we will form a $5$ Digit no. using $\{0,1,2,3,4,5,6,7\}$

(It also include a $4$ Digit no. bcz $0$ at extreme left. )

So Total no.,s e $ \displaystyle = \binom{8}{5} \times 5! = \frac{8!}{3!}$Each digit has an equal chance of being selected into any particular possition.

So, for example, the digit 2 will occupy the units position in $\displaystyle \frac{1}{8}$ of the arrangements.

So The sum of the arrangement each of $5$ position is $\displaystyle = \frac{1}{8}\left(0+1+2+3+4+5+6+7\right)\cdot \frac{8!}{3!}$

So Total Sum of $5$ Digit no. including $0$ at Thousant place is $\displaystyle = \frac{1}{8}\left(0+1+2+3+4+5+6+7\right)\cdot \frac{8!}{3!}\cdot (1111)$

Now We Will Calculate Sum of $4$ Digit no. Using $1,2,3,4,5,6,7$

Using same Idea We Get $\displaystyle = \frac{1}{7}.\frac{7!}{3!}\cdot \left(1+2+3+4+5+6+7\right)\cdot (1111)$

So Total Sum of $5$ Digit no. is $\displaystyle = \frac{1}{8}\left(0+1+2+3+4+5+6+7\right)\cdot \frac{8!}{3!}\cdot (1111) - \frac{1}{7}.\frac{7!}{3!}\cdot \left(1+2+3+4+5+6+7\right)\cdot (1111)$

- - - Updated - - -
 

Similar threads

  • · Replies 3 ·
Replies
3
Views
974
  • · Replies 13 ·
Replies
13
Views
2K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 3 ·
Replies
3
Views
2K
Replies
1
Views
6K
  • · Replies 4 ·
Replies
4
Views
2K
Replies
1
Views
2K
  • · Replies 43 ·
2
Replies
43
Views
6K
  • · Replies 2 ·
Replies
2
Views
3K
  • · Replies 4 ·
Replies
4
Views
2K