MrMineev

Open PDF version of article

On the topic of Perfect Numbers

1 Sigma Function

An important function directly related to the topic of Perfect Numbers is the Sigma function, denoted as σ(n)  , which returns the sum of all the divisors of the number n  . An interesting formula that has been proven to hold is the following.

       ∏k (                 )   ∏k pαi+1 - 1
σ (n) =    1 + pi + p2i + ...+ pαii =  -i------
       i=1                       i=1  pi - 1
(1)

Consequently, the condition given to perfect numbers can be directly rewritten regarding the sigma function.

σ (n) = 2n
(2)

Which can be rewritten given the previous formula.

∏k pαi+1- 1    ∏k
   -i------ = 2   pαii
i=1  pi - 1    i=1
(3)

2 Prime Factoring Forms of Perfect Numbers

2.1 3xp  form

The interesting part about the formula given above is that it is now possible to search for perfect numbers given some prime factoring. For example, consider we want to find all perfect numbers of the form 3xp  , where p  is prime. Simply substituting this into our equation gives us quite a simple equation.

      3x+1 --1     x
(p+ 1)   2    = 2⋅3 p
(4)

Simplifying everything will give the following.

2 3xp - x+1
3---p
  2 =       x+1
- p-+-3----1
     2
4 3xp - 3x+1p = -p + 3x+1 - 1
3xp = -p + 3x+1 - 1

In the end, we get the final equation representing this situation.

3x(p - 3) = - p - 1
(5)

The right-hand side is always negative, thus for equality to hold, the left-hand side, term p - 3  must also be negative, in other words p < 3  or p = 2  . For p = 2  the result is x = 1  , thus the only perfect number of the form 3xp  is 6.

2.2  x
7 p  form

Another example to test the method on a simple yet harder prime factoring form is  x
7 p  . Thus, one is required to solve the following equation.

      7x+1 - 1
(p+ 1)---6----= 2⋅7xp
(6)

7x+1p - p + 7x+1 - 1 = 12 7xp
- p - 1 = 5 7xp - 7x+1

In conclusion, we are left with the following equation.

7x(5p- 7) = - p- 1
(7)

It is trivial to notice that the right-hand side is always negative, and the right-hand side is negative only for p < 2  , yet there is no prime number less than two, thus is no perfect number of the form 7xp  . From here, I believe it should be intuitive to guess that the form pxq  must be approachable similarly by noticing that the right-hand side of some developed equation is negative and, from there, developing an algorithm for finding perfect numbers of that form. That is what I am going to do in the following section.

2.3 General  x
p q  form

An interesting prime factoring form is  x
p q  , which describes the first several perfect numbers.

6 = 2 3
28 = 22 7
496 = 23 31
8128 = 26 127
33550336 = 212 8191
8589869056 = 216 131071

It seems most perfect numbers are represented in their prime factorization by two factors. Substituting this into the formula at the start gives the following.

      px+1 - 1
(q+ 1)--------= 2pxq
       p - 1
(8)

        x+1
(q+-1)(p-----1)
     p - 1 =   x+1    x+1
qp----+-p-----q--1
       p- 1 = 2pxq
qpx+1 + px+1 - q - 1 = 2pxq(p - 1)
- q - 1 = 2pxq(p - 1) - qpx+1 - px+1 = px(2q(p- 1)- pq - p)

Thus, the general equation governing the behavior of perfect numbers of the form pxq  is quite simple.

- q - 1 = px(pq- 2q - p)
(9)

Notice that the left-hand side is always negative (this is the exact same argument used when analyzing the previous prime factoring form). Thus, the value pq- 2q - p  must be negative. Obviously the value is negative when p < 2q+qp-= 2 + pq  . From this, we can conclude the following interesting relationship.

p < 2+ p
       q
(10)

One would think this relationship is useful because given p  or q  , you can limit the search for the second variable and simply brute force all the combinations for the second variable. However, if you take a close look at the inequality it tells us that for big enough p  , q  must equal 1, however 1 is not a prime number, thus there exist no perfect numbers of such form for big enough p  . In this case, it is simple to see that by big enough, I mean p ≥ 4  . The only two prime numbers less than four are 2 and 3. Perfect numbers of the form 3xp  have been analyzed in the section before this, and I have shown that the only perfect number of this form is 6. Thus, the only perfect numbers of the form pxq  are of the form 2xq  (note an interesting property is that all perfect numbers of the form pxq  are even).

§

💬 Comments