-
Notifications
You must be signed in to change notification settings - Fork 32
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Implementation of wheel factorization.
Also, it fixes the bug of skipping the first two numbers after n. For example, in the previous version: >>> galois.next_prime(100000034) 100000037 >>> galois.next_prime(100000035) 100000039 >>> galois.next_prime(100000036) 100000039 >>> galois.next_prime(100000037) 100000049
- Loading branch information
Showing
1 changed file
with
32 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