some numeric functions; currently primes() and factors()
Project description
A few ad hoc numeric alogrithms: factors and primes.
Function factors(n)
Generator yielding the prime factors of n in order from lowest to highest.
Function primes()
Generator yielding the primes in order starting at 2.
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
cs.numeric-20190309.tar.gz
(1.7 kB
view details)
File details
Details for the file cs.numeric-20190309.tar.gz.
File metadata
- Download URL: cs.numeric-20190309.tar.gz
- Upload date:
- Size: 1.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.11.0 pkginfo/1.4.2 requests/2.18.4 setuptools/40.0.0 requests-toolbelt/0.8.0 tqdm/4.23.0 CPython/3.6.8
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8dbfbc427453bcaedea8acfed7e496d3626e6912679db94050c20508e9b64338
|
|
| MD5 |
8ea46640aa9075a18059dc0340f7ae64
|
|
| BLAKE2b-256 |
cf1b4f5caf6b3cb14044c108ebef3843af1183d3e24b1574039d65b708fbc103
|