Print all numbers from 1 to 10,000 where the sum of their proper divisors (factors excluding the number itself) equals the number itself (i.e., perfect numbers).
You've read your 3 free write-ups
Sign up free to keep reading. Your account opens the first 10 questions of every company.