Sorun, sürekli sadece girilen sayının kontrol edilmesi ve tüm bölenlerin toplanmadan kontrol edilmesidir.

Wikipedia adlı üyeden alıntı:
In number theory, a perfect number is a positive integer that is equal to the sum of its positive divisors, excluding the number itself