-
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Added the Number
inverse_psi_len(n)
method.
Returns the number of solutions to Dedekind's psi function: psi(x) = n. Equivalent to `n.inverse_psi.len`, but much faster. - Added the Number `inverse_sigma_len(n,k=1)` method. Returns the number of solutions to the sigma sum of divisors function: sigma_k(x) = n. Equivalent to `n.inverse_sigma(k).len`, but much faster. - Optimized `inverse_phi_len(n)` to use the new Number "_dynamic_length" private function.
- Loading branch information
Showing
3 changed files
with
116 additions
and
14 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