Fixed PerfectNumber