Skip to content

Commit

Permalink
Join broken line and add colon
Browse files Browse the repository at this point in the history
As per KOTP's suggestions on track raku :

exercism/raku#669
  • Loading branch information
habere-et-dispertire authored Sep 7, 2023
1 parent dbeaf6d commit 6ad0fd6
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions exercises/perfect-numbers/description.md
Original file line number Diff line number Diff line change
@@ -1,11 +1,10 @@
# Description

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

The Greek mathematician [Nicomachus][nicomachus] devised a classification scheme for positive integers, identifying each as belonging uniquely to the categories of **perfect**, **abundant**, or **deficient** based on their [aliquot sum][aliquot-sum].
The aliquot sum is defined as the sum of the factors of a number not including the number itself.
For example, the aliquot sum of 15 is (1 + 3 + 5) = 9
For example, the aliquot sum of 15 is: (1 + 3 + 5) = 9

- **Perfect**: aliquot sum = number
- 6 is a perfect number because (1 + 2 + 3) = 6
Expand Down

0 comments on commit 6ad0fd6

Please sign in to comment.