Skip to main content

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


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 hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page