🎉 Exercism Research is now launched. Help Exercism, help science and have some fun at research.exercism.io 🎉
Track Objective-C
Objective-C track

Perfect Numbers

An exercise from the Objective-C track
easy

About this exercise

Determine if a number is perfect, abundant, or deficient based on Nicomachus' (60 - 120 CE) classification scheme for natural numbers.

discriminated unions
integers
math
View all solutions