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

Perfect Numbers

An exercise from the Elixir 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.

pattern matching
enumeration
math
View all solutions