Library for finding prime factorizations and primality
Project description
wheel_factorize
Wheel factorization is an improvement of trial division method for integer factorization. This project is the Python implementation of wheel factorization.
Usage
from wheel_factorize import WheelFactor as WF
wf = WF(3) # basis size
print(wf.factors(10))
print(wf.factors(31))
print(wf.factors(22222222222))
print(wf.is_prime(9999991))
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
wheel_factorize-1.0.1.tar.gz
(2.0 kB
view details)
Built Distribution
File details
Details for the file wheel_factorize-1.0.1.tar.gz
.
File metadata
- Download URL: wheel_factorize-1.0.1.tar.gz
- Upload date:
- Size: 2.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.20.1 setuptools/40.4.1 requests-toolbelt/0.8.0 tqdm/4.26.0 CPython/3.7.1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | abb066c44c13ee9add7a19681be377528d8dabce080108633ec66b861dd4d933 |
|
MD5 | e99f7af493f773ab764d66fa457ca994 |
|
BLAKE2b-256 | 2f6154278cd8aed784e6750105dc29a178acf867c01d644ef44fccb1326872fb |
File details
Details for the file wheel_factorize-1.0.1-py3-none-any.whl
.
File metadata
- Download URL: wheel_factorize-1.0.1-py3-none-any.whl
- Upload date:
- Size: 2.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.20.1 setuptools/40.4.1 requests-toolbelt/0.8.0 tqdm/4.26.0 CPython/3.7.1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 73c100629a7d207b8bb397a9257cfb94e1b7244bce8357ec71ffaa9d60a71b40 |
|
MD5 | 168e1fa420ee4b58e447a40b7179ee7b |
|
BLAKE2b-256 | 707178d38d51c4f66ab844d31f9ce10566bd074950962cffc8209e4abf18d545 |