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