Can we simplify calculating large sums of numbers?

  • MHB
  • Thread starter Ilikebugs
  • Start date
  • Tags
    Numbers Sum
In summary, the conversation discusses a way to find the sum of all possible numbers that can be made using digits 1-7. This is done by multiplying the sum of the digits by the number of times each digit appears and using a formula to find the sum. It is then generalized to include any list of digits and any number of digits in the sum.
  • #1
Ilikebugs
94
0
View attachment 6242 uhh, how would we get a better way?
 

Attachments

  • POTW Add.png
    POTW Add.png
    26.6 KB · Views: 53
Mathematics news on Phys.org
  • #2
I think I would express one particular number that can be made as:

\(\displaystyle 100A+10B+C\)

There are $7\cdot6\cdot5=210$ different numbers that can be made, with each digit appearing $30$ times. Hence the sum $S$ will be given by:

\(\displaystyle S=30\cdot100\cdot\sum_{k=1}^{7}(k)+30\cdot10\cdot\sum_{k=1}^{7}(k)+30\cdot\sum_{k=1}^{7}(k)=30(100+10+1)\cdot\sum_{k=1}^{7}(k)=30\cdot111\cdot\sum_{k=1}^{7}(k)\)

Use the formula:

\(\displaystyle \sum_{k=1}^{n}(k)=\frac{n(n+1)}{2}\)

To complete the computation of the sum. :)
 
  • #3
so is the answer 30*111*28?
 
  • #4
Ilikebugs said:
so is the answer 30*111*28?

You are one step closer...now carry out the multiplication to get the number. :D
 
  • #5
Is the sum 93240
 
  • #6
Ilikebugs said:
Is the sum 93240

That's what I get. :D

As a follow-up, let's generalize a little here and say that the list of possible digits is $\{1,2,\cdots,n\}$ and we are going to sum up all the $m$ digit numbers having distinct digits, where $m\le n\le9$. Can you verify that:

\(\displaystyle S=\frac{1}{n}\prod_{k=n-m+1}^{n}(k)\cdot\sum_{k=0}^{m-1}\left(10^k\right)\cdot\sum_{k=1}^{n}(k)\)
 
  • #7
No, I'm bad at proving things
 

Related to Can we simplify calculating large sums of numbers?

1. What is the sum of a lot of numbers?

The sum of a lot of numbers is the result of adding all the numbers together. It is a mathematical operation that is commonly used in many fields, including statistics, finance, and science.

2. How do you calculate the sum of a lot of numbers?

To calculate the sum of a lot of numbers, you simply add all the numbers together. You can do this manually or by using a calculator. For larger sets of numbers, you can use a computer program or spreadsheet to calculate the sum.

3. What is the purpose of finding the sum of a lot of numbers?

The purpose of finding the sum of a lot of numbers is to determine the total value or quantity of something. It can also help identify patterns or trends within a data set, which can be useful for making predictions or analyzing data.

4. Can the sum of a lot of numbers be negative?

Yes, the sum of a lot of numbers can be negative if there are negative numbers included in the set. When adding positive and negative numbers, the result can be either positive or negative, depending on the values and the operation used.

5. What is the difference between the sum of a lot of numbers and the average of a lot of numbers?

The sum of a lot of numbers is the total value obtained by adding all the numbers together, while the average of a lot of numbers is the result of dividing the sum by the number of values in the set. The average is a measure of central tendency, while the sum is a measure of total quantity.

Similar threads

Replies
3
Views
346
Replies
7
Views
1K
  • General Math
Replies
11
Views
1K
Replies
4
Views
424
Replies
3
Views
469
Replies
1
Views
2K
  • General Math
Replies
3
Views
4K
Replies
3
Views
3K
Replies
4
Views
601
Replies
6
Views
917
Back
Top