Exercise 4.2.16 (Perfect numbers)

We say (following Euclid) that m is a perfect number if σ ( m ) = 2 m , that is, if m is the sum of all its positive divisors other that itself. If 2 n 1 is a prime p , prove that 2 n 1 p is a perfect number. Use this result to find three perfect numbers.

Answers

Proof. Suppose that p = 2 n 1 is prime, and put n = 2 n 1 p = 2 n 1 ( 2 n 1 ) . Since σ is multiplicative, by Theorem 4.5,

σ ( n ) = σ ( 2 n 1 ) σ ( p ) = ( 2 n 1 ) ( p + 1 ) = ( 2 n 1 ) 2 n = 2 n .

So n = 2 n 1 ( 2 n 1 ) is a perfect number if 2 n 1 is prime.

sage: [2^(n-1) * (2^n -1) for n in range(50) if is_prime(2^n - 1)]
[6, 28, 496, 8128, 33550336, 8589869056, 137438691328, 2305843008139952128]

So 6 , 28 , 496 , 8128 , 33550336 , 8589869056 , 137438691328 , 2305843008139952128 are perfect numbers. □

The last found Mersenne’s number (October 2024) is M 136279841 , with more than 40,000,000 digits. So

n = 2 136279840 ( 2 136279841 1 )

is a (big) perfect number.

See the sequences A000043 and A000396 in the OEIS:

https://oeis.org/A000043
https://oeis.org/A000396

User profile picture
2025-01-15 10:48
Comments