Sum of number of divisors of first N natural numbers

In summary, the conversation discusses the relationship between the functions σ(N) and τ(N), which represent the sum of divisors and the number of divisors of a number N, respectively. The question is raised whether these functions can be calculated without factoring the individual numbers in the sequence. The conversation also mentions the existence of a proof and a possible algorithm for calculating these functions.
  • #1
suchith
7
0
If σ(N) is the sum of all the divisors of N and τ(N) is the number of divisors of N then what is the sum of sum of all the divisors of first N natural numbers and the sum of the number of divisors of first N natural numbers?

Is there any relation between σ(N) and τ(N) functions?

Can I do that without factorizing any of the number in the sequence?
 
Mathematics news on Phys.org
  • #2
Have you tried calculating those yourself up to, say, N= 100?
 
  • #3
HallsofIvy said:
Have you tried calculating those yourself up to, say, N= 100?
Of course I have using my computer. I don't remember the result now. I have tried for both. Well! Using computer it is not a big job.

But can I find it out without listing the factors or factorizing individual numbers?

Avoiding factorization is the goal. I wrote these functions in the form of series, for sum of tau function in the form of infinite series without factorization, and for sum of sigma function it is a finite series. I have written the proof by myself, but don't know about the correctness. Is there anything to find the sum in the mathematical literature?
 
  • #4
You can explicitly calculate ##\sigma(n)## and ##\tau(n)##, but you will need the prime decomposition of ##n##, say ##n = \prod_{i=1}^N p_i^{r_i}##.

The positive divisors of ##n## are ##\text{Div}(n)=\{ p_1^{q_1} \times ... \times p_N^{q_N},\ 0\le q_i \le r_i,\ i = 1...N \}##

There is an obvious bijection between ##\text{Div}(n)## and ## \{ q_1,\ 0\le q_1 \le r_1\} \times ... \times\{ q_N,\ 0\le q_N \le r_N\} ## which contains ##\prod_{i = 1}^N (1+r_i)## elements.

So ##\tau(n) = \#\text{Div}(n) = \prod_{i = 1}^N (1+r_i)##

And ##\sigma(n) = \sum_{q_1 = 0 }^{r_1}...\sum_{q_N = 0}^{r_N} p_1^{q_1} \times ... \times p_N^{q_N} = \prod_{i=1}^N \sum_{q_i = 0}^{r_i} {p_i}^{q_i} = \prod_{i=1}^N \frac{1 - p_i^{r_i+1}}{1-p_i}##
 
  • #5
@geoffrey159 and @Suchit I do understand how to calculate τ(n) but didn't get how to calculate τ(N). I will highly appreciate if someone can give the programming algorithm for the problem.
 

What is the "Sum of number of divisors of first N natural numbers"?

The "Sum of number of divisors of first N natural numbers" refers to the sum of the number of divisors for each of the first N natural numbers. For example, if N = 5, then the first 5 natural numbers are 1, 2, 3, 4, and 5. The number of divisors for each of these numbers are 1, 2, 2, 3, and 2 respectively. The sum of these numbers would be 10.

What is the formula for calculating the "Sum of number of divisors of first N natural numbers"?

The formula for calculating the "Sum of number of divisors of first N natural numbers" is given by:

i=1N (d(i))

where d(i) represents the number of divisors for the ith natural number.

What is the significance of the "Sum of number of divisors of first N natural numbers" in mathematics?

The "Sum of number of divisors of first N natural numbers" has a significant role in number theory and is often used in various mathematical proofs and problems. It can also be used to find the average number of divisors for the first N natural numbers.

How can the "Sum of number of divisors of first N natural numbers" be calculated efficiently?

The "Sum of number of divisors of first N natural numbers" can be calculated efficiently using the sieve of Eratosthenes algorithm. This algorithm can find all the prime numbers up to a given number N and then use these prime numbers to calculate the number of divisors for each natural number. This method has a time complexity of O(NloglogN).

What are some real-world applications of the "Sum of number of divisors of first N natural numbers"?

The "Sum of number of divisors of first N natural numbers" has various applications in computer science and cryptography. It can be used to generate secure prime numbers for encryption algorithms and also in the creation of pseudorandom number generators. Additionally, it can also be used in certain optimization problems to find the best distribution of resources.

Similar threads

Replies
5
Views
2K
  • Math Proof Training and Practice
Replies
12
Views
450
Replies
7
Views
921
Replies
6
Views
885
Replies
6
Views
820
  • General Math
Replies
3
Views
1K
  • General Math
Replies
9
Views
1K
Replies
2
Views
1K
  • General Math
Replies
2
Views
1K
Replies
4
Views
1K
Back
Top