← Goldman Sachs questions

Find Numbers from 1 to 10000 with Factor Sum Equal to Themselves

Filed under Goldman Sachs

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.

Related Goldman Sachs questions

Collected from public candidate posts and coding forums. Updated Nov 2026.