https://wikimass.com/php/perfect-number