Skip to content

Added faster_perfect_numbers and mersenne_primes #355

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 3 commits into from
Aug 25, 2022
Merged

Added faster_perfect_numbers and mersenne_primes #355

merged 3 commits into from
Aug 25, 2022

Conversation

Utshaan
Copy link
Contributor

@Utshaan Utshaan commented Aug 22, 2022

A function that evaluates perfect numbers till a certain limit using the Lucas Lehmer test algorithm making it substantially faster.

As this algorithm requires the use of mersenne primes, a module for the same was added with.

@Utshaan Utshaan requested review from siriak and imp2002 as code owners August 22, 2022 21:59
Copy link
Member

@siriak siriak left a comment

Choose a reason for hiding this comment

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

Looks good, thanks!

@siriak siriak merged commit 4922846 into TheAlgorithms:master Aug 25, 2022
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