-
-
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
k.powerfree_usigma(n, j=1)
and `k.powerfree_usig…
…ma0(n)` method. Returns the sum and the count of the k-powerfree divisors of n. When computing the sum, each divisor is raised to the power j. Example: say 20.of { 2.powerfree_usigma(_) } # OEIS: A092261 say 20.of { 2.powerfree_usigma(_, 2) } # OEIS: A091306 say 20.of { 2.powerfree_usigma0(_) } # OEIS: A056671
- Loading branch information
Showing
3 changed files
with
126 additions
and
4 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