-
-
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.squarefree_almost_prime_count(a,b)
.
Returns the number of squarefree k-almost primes in the range a..b. Example: say 1.squarefree_almost_prime_count(1000) # count of primes <= 1000 say 2.squarefree_almost_prime_count(50, 1000) # count of squarefree semiprimes in range 50..1000 Also aliased as `squarefree_pi_k(k, a, b)`.
- Loading branch information
Showing
3 changed files
with
148 additions
and
26 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