-
-
Notifications
You must be signed in to change notification settings - Fork 212
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
Added Legendre's Algorithm #1905
Conversation
Thank you for submitting your pull request! 🙌 We'll review it as soon as possible.). If there are any specific instructions or feedback regarding your PR, we'll provide them here. Thanks again for your contribution! 😊 |
⚡️ Lighthouse Report for the Deploy Preview of this PR 🚀
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
update your code based on suggestions
Fixes #1905 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done
🎉🎉 Thank you for your contribution! Your PR #1905 has been merged! 🎉🎉 |
📥 Pull Request
Description
This PR introduces the Legendre's Algorithm to the algorithms section. The algorithm is used to find the largest power
𝑥 such that 𝑘^𝑥 divides n!, where n! is the factorial of a given number n, and k is a divisor (either prime or composite).
Type of change
Checklist: