Numbers formed by taking each of the digits 2,3,5,6 and 8 once?

  • Thread starter Thread starter Greg Bernhardt
  • Start date Start date
  • Tags Tags
    Numbers
AI Thread Summary
The discussion centers on calculating the sum of all 5-digit numbers formed by the digits 2, 3, 5, 6, and 8. The total number of permutations for these digits is 120. Each digit contributes to the total sum based on its frequency in each column across all permutations. The sum of the digits is 24, leading to a calculation of 120 multiplied by 24, resulting in 2880. However, a more detailed breakdown reveals that each digit appears 24 times in each column, leading to the final sum of 6,399,936. An alternative method presented also confirms this result using the formula 4!*(2+3+5+6+8)*(11111).
Messages
19,787
Reaction score
10,740
What is the sum of all the numbers formed by taking each of the digits 2,3,5,6 and 8 once?
 
Physics news on Phys.org
haha, maybe later.
 
6399936
 
Originally posted by jamesrc
6399936

How'd you get that answer? :smile:
 
Hmm...combinatorics.

2 3 5 6 8

There are: (5)*(5-1)*(5-2)*(5-3)*(5-4) or 5*4*3*2*1 = 120 permutations for the above set of numbers.

One set of numbers add up to: 2+3+5+6+8 = 24.

So, the sum of all numbers formed from 120 permutations is:

120*24 = 2880.
 
If I answered the right question, for all of the 5-digit numbers you can make, each digit appears 24 times in each column, so you can write:

24*(22222+33333+55555+66666+88888)=6399936

Edit: Oh, I thought it was the sum of the numbers made by the combinations, not the sum of their digits.
 
Last edited:
Originally posted by jamesrc
If I answered the right question, for all of the 5-digit numbers you can make, each digit appears 24 times in each column, so you can write:

24*(22222+33333+55555+66666+88888)=6399936

Edit: Oh, I thought it was the sum of the numbers made by the combinations, not the sum of their digits.

James gets the point!

Here is an alternative way:
4!*(2+3+5+6+8)*(11111) = 6,399,936
 

Similar threads

Replies
16
Views
2K
Replies
10
Views
2K
Replies
7
Views
3K
Replies
19
Views
3K
Replies
10
Views
2K
Replies
9
Views
2K
Back
Top