If 2^{k} - 1 is a prime number then 2^{k-1}(2^{k} - 1) is a perfect number.

Example: The factor of 6 = {1,2,3,6} The sum of its factors = 1+2+3+6 = 12 = 2*6 = 12 Therefore, 6 is a perfect number.