Track TypeScript
TypeScript track

Perfect Numbers

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

arrays
control flow conditionals
control flow loops
integers
math
View all solutions