Skip to content

Commit 8b7e69e

Browse files
Update sol1.py
1 parent 2d04e70 commit 8b7e69e

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

project_euler/problem_095/sol1.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,9 @@
77
For example, the proper divisors of 28 are 1, 2, 4, 7, and 14.
88
As the sum of these divisors is equal to 28, we call it a perfect number.
99
10-
Interestingly the sum of the proper divisors of 220 is 284 and the sum of the proper divisors of 284 is 220,
11-
forming a chain of two numbers. For this reason, 220 and 284 are called an amicable pair.
10+
Interestingly the sum of the proper divisors of 220 is 284 and
11+
the sum of the proper divisors of 284 is 220, forming a chain of two numbers.
12+
For this reason, 220 and 284 are called an amicable pair.
1213
1314
Perhaps less well known are longer chains.
1415
For example, starting with 12496, we form a chain of five numbers:

0 commit comments

Comments
 (0)