Skip to content

Add problem 23 solution #1261

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Oct 3, 2019
Merged

Add problem 23 solution #1261

merged 1 commit into from
Oct 3, 2019

Conversation

Hyftar
Copy link
Contributor

@Hyftar Hyftar commented Oct 3, 2019

This PR adds the solution to the Project Euler's problem 23

@@ -0,0 +1,40 @@
"""
A perfect number is a number for which the sum of its proper divisors is exactly equal to the number. For example, the sum of the proper divisors of 28 would be 1 + 2 + 4 + 7 + 14 = 28, which means that 28 is a perfect number.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please wrap these lines at 88 characters max for readability.

@cclauss cclauss merged commit f970c73 into TheAlgorithms:master Oct 3, 2019
@Hyftar Hyftar deleted the problem23 branch October 3, 2019 20:36
stokhos pushed a commit to stokhos/Python that referenced this pull request Jan 3, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants