If n is a positive integer, let S ( n ) be the sum of all the positive divisors of n .
If S ( n ) is an odd integer, what is the sum of all possible n 1 ?
This section requires Javascript.
You are seeing this because something didn't load right. We suggest you, (a) try
refreshing the page, (b) enabling javascript if it is disabled on your browser and,
finally, (c)
loading the
non-javascript version of this page
. We're sorry about the hassle.
Just a sligthy observation. S is multiplicative if the factors are coprime
Log in to reply
My formula for S ( n ) splits as a product. That is using the multiplicative property!!!
please, no more number theory questions.
I disagree with the assertion that S(2^n) is always odd. Factors of 2^n are 1,2,4,...,2^n so n+1 in number. S(8) = 4 for example. This impacts your conclusion about S(2k^2) which is even. S(18) =|{1,2,3,6,9,18}|=6. The answer should be pi^2/6.
Log in to reply
S ( 2 n ) = 1 + 2 + 4 + . . . + 2 n = 2 n + 1 − 1 is always odd. We are interested in the sum of the divisors, not the number of them.
My bad. Thanks.
For S ( n ) to be odd, n must be either a square or twice a square.
Sketch of Proof: If n is a square with 2 as a factor, it has an odd number of odd factors -- all those with no factor of 2. If n is a square without 2 as a factor it has an odd number of factors and all of its factors are odds. If you multiply this n by 2 you don't change the number of odd factors. If n is not of these forms it has an even number of odd factors and the sum will be even.
Euler proved what is known as The Basel Problem: the sum of the reciprocals of the squares equals 6 π 2 .
The sum of the reciprocals of twice squares is then half of this or 1 2 π 2 .
Add these together and you get 4 π 2 ≈ 2 . 4 6 7 4 0 1 1 .
We can see which numbers n make S ( n ) odd by splitting n into a power of 2 and an odd factor, then considering each group of factors. For example, if n = 1 2 0 we can split 120 into 8 ⋅ 1 5 and consider all of the factors of 8 (other than 1) and all the factors of 15 giving the two groups ( 2 , 4 , 8 ) ( 1 , 3 , 5 , 1 5 ) . All the factors of n will be given by all the numbers in the first group, all the numbers in the second group, and all the numbers obtained by multiplying together a number from each group. All the numbers in the first group are even and all the numbers obtained by crossing the two groups are also even. We can pair all of the factors in the second group with each other where the product for each pair is the odd factor of n (in our example we pair 1 and 15 and pair 3 and 5). This means that we will have an even number of factors in the second group, (and all of those factors are odd) so S ( n ) is even. The only time this argument breaks down is when we have a perfect square for the odd factor of n because one number could only pair with itself and we would have an odd number of factors. Thus the only n for which S ( n ) is odd, are of the form a 2 (when n has an even number of factors of 2) and 2 a 2 (when n has an odd number of factors of 2). Thus the value we want is equal to ( 1 + 2 1 ) ( 1 + 4 1 + 9 1 + 1 6 1 + ⋯ ) Here is an elementary proof that the infinite sum is equal to 6 π 2 , so the answer is 4 π 2
The function S ( n ) is multiplicative only if the factors in the parantheses are coprime
S ( a ⋅ b ) = S ( a ) ⋅ S ( b ) ⟺ m c d ( a , b ) = 1
For a prime p , the value of the function S ( p k ) is equal to the sum of all the powers of p with exponent from 1 to k .
S ( p k ) = ( 1 + p + p 2 + ⋯ + p k )
now it is possible to distinguish two cases:
p = 2 . In this case p is always. To obtain S ( p k ) odd, it is necessary that the sum of the formula above have a number of odd terms. Then k has to be even. Since S ) is multiplicative, S is odd if n is a perfect square odd number
p = 2 . In this case for every k, S(2^{k}) is a odd number. In fact S ( 2 k ) = 1 + 2 + 2 2 + ⋯ + 2 k = 1 + 2 ( 1 + 2 + ⋯ + 2 k − 1 ) = 1 + 2 q
Then combine the two cases it is possible to affirm that S ( n ) is odd if and only if n has the form n = 2 i ⋅ ( 2 j + 1 ) 2 for every i and j integer non negative
Then the solution is possible to write in this way
\substack n = 0 m = 0 ∑ ∞ 2 m 1 ( 2 n + 1 ) 2 1 = n = 0 ∑ ∞ 2 n 1 ⋅ n = 0 ∑ ∞ ( 2 n + 1 ) 2 1 = 2 ⋅ 4 3 6 π 2 = 4 π 2 ≈ 2 . 4 6 7
If the prime factorization of an integer is p 1 e 1 p 2 e 2 … p n e m , then the number of positive factors is ( e 1 + 1 ) ( e 2 + 1 ) … ( e m + 1 ) . Similarly, the number of positive factors formed only from the primes p i , p i + 1 , … p m is ( e i + 1 ) ( e i + 1 + 1 ) … ( e m + 1 ) (including the factor 1). An integer is odd iff it can be written as a sum of integers with an odd number of odd integers in the sum. Thus, in order for S ( n ) to be odd, there must be an odd number of odd factors of n . The odd factors are precisely those which do not contain the prime number 2, so if the exponents of all primes in n other than 2 are e 1 , e 2 , … , e m , then it must be the case that ( e 1 + 1 ) ( e 2 + 1 ) … ( e m + 1 ) is odd, which means each individual exponent from e 1 to e m must be even. If all the exponents on the odd primes are even, then their product is the square of an odd number. So, for S ( n ) to be odd, it must be equal to a power of 2 times the square of an odd number. The possible values of n are thus of the form ( 2 m + 1 ) 2 , 2 ( 2 m + 1 ) 2 , 2 2 ( 2 m + 1 ) 2 , … for all nonnegative integers m . The sum of the reciprocals of all these values is i = 0 ∑ ∞ m = 0 ∑ ∞ 2 i ( 2 m + 1 ) 2 1 = ( m = 0 ∑ ∞ ( 2 m + 1 ) 2 1 ) i = 0 ∑ ∞ 2 i 1 = ( m = 0 ∑ ∞ ( 2 m + 1 ) 2 1 ) 2 The sum of the reciprocals of the squares of all odd positive integers can be found using the identity m = 1 ∑ ∞ m 2 1 = 6 π 2 This sum is equal to the sum of the reciprocals of the even squares plus the sum of the reciprocals of the odd squares, or m = 1 ∑ ∞ ( 2 m ) 2 1 + m = 0 ∑ ∞ ( 2 m + 1 ) 2 1 = 6 π 2 which is equivalent to 4 1 m = 1 ∑ ∞ m 2 1 + m = 0 ∑ ∞ ( 2 m + 1 ) 2 1 = 6 π 2 which simplifies to 4 1 ⋅ 6 π 2 + m = 0 ∑ ∞ ( 2 m + 1 ) 2 1 = 6 π 2 so m = 0 ∑ ∞ ( 2 m + 1 ) 2 1 = 4 3 ⋅ 6 π 2 The final answer is thus ( 4 3 ⋅ 6 π 2 ) 2 = 2 3 ⋅ 6 π 2 = 4 π 2 ≈ 2 . 4 7 .
It can be shown by prime factorization, S(n) is odd for n=(2^r)((2s+1)^2). Summing infinite series for (1/n), from r,s=0 to infinity gives:
Answer = (π^2)/4 ~ 2.4674
Problem Loading...
Note Loading...
Set Loading...
The function S is multiplicative and so, if we have the prime factorisation n = p 1 a ( 1 ) p 2 a ( 2 ) ⋯ p m a ( m ) , where p 1 , p 2 , . . . , p m are distinct primes, then S ( n ) = k = 1 ∏ m S ( p k a ( k ) ) = k = 1 ∏ m ( 1 + p k + p k 2 + ⋯ + p k a ( k ) ) Note that S ( 2 n ) = 2 n + 1 − 1 is odd for all n ≥ 1 , while S ( p n ) is odd precisely when n is even for any odd prime p .
If S ( n ) is to be odd, we must have S ( p k a ( k ) ) odd for all k , and hence the index of any odd prime factor of n must be even. Thus the set of numbers n for which S ( n ) is odd is the set of perfect squares, together with the set of twice the perfect squares. Thus we need to evaluate n = 1 ∑ ∞ n 2 1 + n = 1 ∑ ∞ 2 n 2 1 = 2 3 ζ ( 2 ) = 4 1 π 2