Permutations & Combinations - Find the sum

In summary, Tedjn explains that the sum of all numbers greater than 10,000 formed by using the digits 0, 2, 4, 6, 8, no digit being repeated in any number is (2+4+6+8)*10000*n.
  • #1
zorro
1,384
0

Homework Statement


Find the sum of all numbers greater than 10,000 formed by using the digits 0,2,4,6,8, no digit being repeated in any number.

The Attempt at a Solution


I can't think of any method of approach.
A hint will help.
 
Physics news on Phys.org
  • #2
Abdul Quadeer said:

Homework Statement


Find the sum of all numbers greater than 10,000 formed by using the digits 0,2,4,6,8, no digit being repeated in any number.

The Attempt at a Solution


I can't think of any method of approach.
A hint will help.

How many numbers will have 2 as a first digit?
 
  • #3
We have to find the sum of the numbers, not the number of numbers.
 
  • #4
Yes, I know that, but you wanted to know how we'd (I'd) go about solving it.

Don't forget if you have for instance 24 + 42 as a potential sum, you can swap the units column to give 22 + 44 which does not affect the sum.
 
  • #5
I don't understand what you said.
How is that helpful here?
 
  • #6
If you know you have for instance 17 numbers that have 2 as a first digit, then you also know by symmetry that there are 17 with 4 as a first digit, with 6 as a first digit, with 8 as a first digit, and with 0 as a first digit. You can then shuffle the numbers around so you have 17 x 22222, 17 x 44444, 17 x 66666, 17 x 88888 (and 17 x 00000), which is a much easier sum to calculate.
 
  • #7
Actually its solution is given in some other method. So I have a confusion between yours and this one-
Sum = (2+4+6+8)(4! x 104) +(2+4+6+8)x 3 x 3! x (103 + 102 + 10 +1)
Can you explain me this one?
 
  • #8
That's essentially the same thing as I have started explaining I think, though now I re-read the question I note my original answer also will count numbers like 02468 (which are not in your given range).
 
  • #9
Ok then acc. to your method we have 24 nos. each starting with 2, 4, 6, 8
You should not take 0 as a first digit as any such number will be less than 10,000.
starting with 2, there are nos. like 24680, 24808 etc
how do you find their sum ? ( I really don't get why you took 17 x 22222, 17 x 44444 - all same digits as there can be different too)
 
  • #10
Here is an explanation of the book solution. I want to calculate the sum

20468 + 20486 + ... + 24068 + ... + 42680 + ... + 86420.

This can be rewritten

(20000 + 400 + 60 + 8) + (20000 + 400 + 80 + 6) + ... + (20000 + 4000 + 60 + 8) + ... + (40000 + 2000 + 600 + 80) + ... + (80000 + 6000 + 400 + 20).

I can group all of the 10000 numbers together, all of the 1000 numbers together, all of the 100 numbers together, and so forth. The question then becomes:

How many 20000s do I have to add? Let's call this n. As argued above by symmetry, it's the same number as the number of 40000s and 60000s and 80000s I need to add. Therefore, the contribution to the sum by the 10000 numbers is (2+4+6+8)*10000*n. Repeat for the 1000 numbers, the 100 numbers, and so forth.

Do you see how this matches the book's solution method?
 
  • #11
Thanks for your explanation.
I understood how this came (2+4+6+8)(4! x 104)
Now the next terms should be (2+4+6+8)(3! x 103) + (2+4+6+8)(2! x 102) + (2+4+6+8)(1! x 10) + (2+4+6+8)

This is my explanation - the terms with 103 can be arranged in 3! ways as no repetition is allowed.
The same explanation with 2! 1! follows.
Why did he take 3! x 3 in common for next terms?
 
  • #12
Thanks Tedjn, I have been trying to write out my thoughts clearly, but you seem to have done a good job of working out what I meant.

I think the 3! x 3 (and similar) terms take into account that the thousands, hundreds, tens and units digits can be zero; as well as 2, 4, 6 and 8.

Note that n! = n * (n-1)! = (n-1+1) * (n-1)! = (n-1)[(n-1)!] + (n-1)! (though not sure if this really helps)
 
Last edited:

Related to Permutations & Combinations - Find the sum

1. What is the difference between permutations and combinations?

Permutations refer to the number of ways in which a set of objects can be arranged in a specific order, while combinations refer to the number of ways in which a subset of objects can be selected from a larger set without considering the order.

2. How do I find the sum of permutations or combinations?

The sum of permutations or combinations can be found by using the formula nCr = n! / r!(n-r)!, where n represents the total number of objects and r represents the number of objects in each group.

3. Can the sum of permutations or combinations be negative?

No, the sum of permutations or combinations cannot be negative as it represents the number of possible arrangements or selections, which cannot be negative.

4. What is the significance of permutations and combinations in real life?

Permutations and combinations are used in many fields such as mathematics, statistics, computer science, and economics. They are used to solve various problems related to probability, counting, and optimization.

5. How do I know when to use permutations or combinations in a problem?

Permutations are used when the order of objects is important, such as arranging a sequence of numbers or selecting a president, vice president, and treasurer from a group of candidates. Combinations are used when the order of objects is not important, such as selecting a group of people to form a committee or choosing a pizza with different toppings.

Similar threads

  • Precalculus Mathematics Homework Help
Replies
32
Views
904
  • Precalculus Mathematics Homework Help
Replies
5
Views
1K
  • Precalculus Mathematics Homework Help
Replies
4
Views
2K
  • Precalculus Mathematics Homework Help
Replies
5
Views
1K
  • Precalculus Mathematics Homework Help
Replies
4
Views
1K
  • Calculus and Beyond Homework Help
Replies
1
Views
618
  • Precalculus Mathematics Homework Help
Replies
6
Views
682
  • Precalculus Mathematics Homework Help
Replies
18
Views
2K
  • Precalculus Mathematics Homework Help
Replies
11
Views
2K
  • Precalculus Mathematics Homework Help
Replies
8
Views
2K
Back
Top