Proof in number theory: the sum of all divisors of n

  • Thread starter Thread starter mathstudent1
  • Start date Start date
  • Tags Tags
    Proof Theory
Click For Summary

Discussion Overview

The discussion revolves around proving that if \( n \) is a square, then \( \sigma(n) \) (the sum of all divisors of \( n \)) is odd. Participants explore the properties of the divisor function \( \sigma(n) \), particularly in the context of number theory, focusing on its calculation through prime factorization and the implications of even powers of prime factors.

Discussion Character

  • Exploratory
  • Technical explanation
  • Mathematical reasoning

Main Points Raised

  • Some participants suggest starting with the formula for \( \sigma(n) \) based on its prime factor decomposition, specifically \( \sigma(p^a) = \frac{p^{a+1} - 1}{p - 1} \).
  • There is a discussion about how to express \( n \) as a product of prime factors and what it means for \( n \) to be a square, leading to the conclusion that all powers of the prime factors must be even.
  • Participants inquire about the implications of even powers on the sum \( \sigma(n) \) and whether the sum can be expressed in a form that distinguishes between odd and even primes.
  • One participant proposes that since \( a \) (the exponent of the prime) is even, the number of terms in the sum \( 1 + p + p^2 + \ldots + p^a \) will also be odd, leading to the hypothesis that \( \sigma(n) \) is odd.
  • Another participant emphasizes the need for precision in writing the proof, suggesting a step-by-step approach to demonstrate that \( \sigma(n) \equiv 1 \pmod{2} \) based on the multiplicativity of \( \sigma \) and the properties of the prime factors.

Areas of Agreement / Disagreement

Participants generally agree on the approach of using the prime factorization of \( n \) and the properties of \( \sigma(n) \). However, there is no consensus on the final proof structure or whether the reasoning provided is sufficient to conclude that \( \sigma(n) \) is odd.

Contextual Notes

Participants note the importance of distinguishing between odd and even primes in the context of the proof. There are also references to the need for clarity in mathematical writing and the step-by-step construction of the proof.

mathstudent1
Messages
18
Reaction score
0
let n be a positive integer show that if n is square then σ(n)( the sum of all divisors of n )is odd.
 
Physics news on Phys.org
Do you have any ideas? What do you know about ##\sigma (n)##?

Before you start proving something you must make an inventory. E.g. there is a formula for ##\sigma (n)## if ##n## is given by its prime factor decomposition. If you can use that, then the proof is probably a lot easier as if you do not know this formula.
 
  • Like
Likes   Reactions: pinball1970
fresh_42 said:
Do you have any ideas? What do you know about ##\sigma (n)##?

Before you start proving something you must make an inventory. E.g. there is a formula for ##\sigma (n)## if ##n## is given by its prime factor decomposition. If you can use that, then the proof is probably a lot easier as if you do not know this formula.
you mean this σ(p^a)=p^(a+1) -1/(p-1)? I have another question how can I write the form of square in the form of prime?
 
mathstudent1 said:
you mean this σ(p^a)=p^(a+1) -1/(p-1)? I have another question how can I write the form of square in the form of prime?
I meant a more complicated formula with more primes.

Let's start with ##n## and what do we know. Say ##n=p_1^{r_1}\cdot p_2^{r_2}\cdots p_k^{r_k}## with pairwise distinct primes ##p_1,\ldots,p_k## and positive integers ##r_1,\ldots,r_k.##

What does it mean that ##n## is a square?
 
fresh_42 said:
I meant a more complicated formula with more primes.

Let's start with ##n## and what do we know. Say ##n=p_1^{r_1}\cdot p_2^{r_2}\cdots p_k^{r_k}## with pairwise distinct primes ##p_1,\ldots,p_k## and positive integers ##r_1,\ldots,r_k.##

What does it mean that ##n## is a square?
n^2=p1^2r1*p2^2r2*..........*p^2rk?
 
Yes, all powers of the prime factors are even. Btw., here is how to write formulas here at PF:
https://www.physicsforums.com/help/latexhelp/

Let's start easy: what is ##\sigma(p^{2r})##? Then how do we get to ##\sigma (p_1^{2r_1}\cdot p_2^{2r_2})##?
 
fresh_42 said:
Yes, all powers of the prime factors are even. Btw., here is how to write formulas here at PF:
https://www.physicsforums.com/help/latexhelp/

Let's start easy: what is ##\sigma(p^{2r})##? Then how do we get to ##\sigma (p_1^{2r_1}\cdot p_2^{2r_2})##?
Do you mean we can use this form p^a+1 -1/p-1 ? and since sigma is a multiplicative function, we can distribute the sigma?
 
mathstudent1 said:
Do you mean we can use this form p^a+1 -1/p-1 ? and since sigma is a multiplicative function, we can distribute the sigma?
Use the formula you gave us:
$$
\sigma (p^a)=\dfrac{p^{a+1}-1}{p-1}
$$
All we know is that ##a## is even. This is not much. Can you perform the long division ##(p^{a+1}-1)\, : \,(p-1)##?

Proceed step by step. If we know that it is true with one prime, then we can use multiplicativity, yes.
 
fresh_42 said:
Use the formula you gave us:
$$
\sigma (p^a)=\dfrac{p^{a+1}-1}{p-1}
$$
All we know is that ##a## is even. This is not much. Can you perform the long division ##(p^{a+1}-1)\, : \,(p-1)##?

Proceed step by step. If we know that it is true with one prime, then we can use multiplicativity, yes.
so we can use this form? 1+p+P^2+.......+p^a?
 
  • #10
mathstudent1 said:
so we can use this form? 1+p+P^2+.......+p^a?
Yes. How many terms are there? You probably have to distinguish between odd and even ##p## if you want to answer whether the sum is even or odd.

What is ##1+p+p^2+\ldots+p^a \pmod{2}##?
 
Last edited:
  • #11
fresh_42 said:
Yes. How many terms are there? You probably have to distinguish between odd and even ##p## if you want to answer whether the sum is even or odd.
a+1 terms and since a must be even we will have even+1= odd and since sigma is multiplicative, we can distribute the sigma so we have this odd*odd*.....= odd that is why sigma is odd right?
 
  • #12
mathstudent1 said:
a+1 terms and since a must be even we will have even+1= odd and since sigma is multiplicative, we can distribute the sigma so we have this odd*odd*.....= odd that is why sigma is odd right?
That's the idea but you must be a bit more precise. You should write it like

\begin{align*}
\sigma (p^{2r})=\dfrac{p^{2r+1}-1}{p-1}=\underbrace{1+p^1+p^2+\ldots+p^{2r}}_{2r+1\text{ terms}}
=\begin{cases}
\equiv 1 &\text{ if } p\equiv 0 \pmod{2}\\
\equiv (2r+1)\cdot 1\equiv 1 &\text{ if } p\equiv 1 \pmod{2}
\end{cases}
\end{align*}

because it has two different reasons why the sum is odd depending on whether ##p=2## or not.

Finally, write it step by step.

\begin{align*}
n&=p_1^{r_1}\cdot\ldots\cdot p_k^{r_k}\text{ with pairwise distinct primes }p_i \text{ and } r_i\equiv 0\pmod{2}\\
\sigma (n)&=\sigma (p_1^{r_1}\cdot\ldots\cdot p_k^{r_k})\\
&=\sigma (p_1^{r_1})\cdot\ldots\cdot \sigma (p_k^{r_k})\text{ by multiplicativity of }\sigma \\
&\equiv \underbrace{1\cdot 1\ldots \cdot 1}_{k\text{-times }}\\
&\equiv 1\pmod{2}
\end{align*}

You have had all the ingredients (the formula for ##p^a##, the multiplicativity of ##\sigma ##, and the result of the long division), you only had to put them into the right order. A general guideline is to start with a list of what you have and make conclusions step by step.

Not sure whether this helps (I have written better ones) ...
https://www.physicsforums.com/insights/how-most-proofs-are-structured-and-how-to-write-them/
 
  • #13
fresh_42 said:
That's the idea but you must be a bit more precise. You should write it like

\begin{align*}
\sigma (p^{2r})=\dfrac{p^{2r+1}-1}{p-1}=\underbrace{1+p^1+p^2+\ldots+p^{2r}}_{2r+1\text{ terms}}
=\begin{cases}
\equiv 1 &\text{ if } p\equiv 0 \pmod{2}\\
\equiv (2r+1)\cdot 1\equiv 1 &\text{ if } p\equiv 1 \pmod{2}
\end{cases}
\end{align*}

because it has two different reasons why the sum is odd depending on whether ##p=2## or not.

Finally, write it step by step.

\begin{align*}
n&=p_1^{r_1}\cdot\ldots\cdot p_k^{r_k}\text{ with pairwise distinct primes }p_i \text{ and } r_i\equiv 0\pmod{2}\\
\sigma (n)&=\sigma (p_1^{r_1}\cdot\ldots\cdot p_k^{r_k})\\
&=\sigma (p_1^{r_1})\cdot\ldots\cdot \sigma (p_k^{r_k})\text{ by multiplicativity of }\sigma \\
&\equiv \underbrace{1\cdot 1\ldots \cdot 1}_{k\text{-times }}\\
&\equiv 1\pmod{2}
\end{align*}

You have had all the ingredients (the formula for ##p^a##, the multiplicativity of ##\sigma ##, and the result of the long division), you only had to put them into the right order. A general guideline is to start with a list of what you have and make conclusions step by step.

Not sure whether this helps (I have written better ones) ...
https://www.physicsforums.com/insights/how-most-proofs-are-structured-and-how-to-write-them/
thank you
 

Similar threads

  • · Replies 8 ·
Replies
8
Views
3K
  • · Replies 23 ·
Replies
23
Views
3K
Replies
9
Views
2K
Replies
4
Views
3K
  • · Replies 1 ·
Replies
1
Views
3K
Replies
8
Views
3K
  • · Replies 3 ·
Replies
3
Views
2K
Replies
10
Views
3K
Replies
7
Views
3K
  • · Replies 6 ·
Replies
6
Views
3K