forked from sagemath/sage
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Trac sagemath#34719: move carmichael_lambda() from sage.crypto.util t…
…o sage.arith.misc The Carmichael λ function currently resides in the `sage.crypto.util` module, but it's really much more general than "just" crypto: λ(n) is the exponent of the unit group of ℤ/n. (The morally comparable Euler φ function does live in `sage.arith.misc` already.) This patch lifts `carmichael_lambda()` out of obscurity, plus some tiny tweaks. URL: https://trac.sagemath.org/34719 Reported by: lorenz Ticket author(s): Lorenz Panny Reviewer(s): Matthias Koeppe
- Loading branch information
Showing
4 changed files
with
157 additions
and
155 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters