Skip to main content

A prime package for calculating prime numbers and non trivial riemann zeros

Project description

#PrimePackage v1.1.4

#to install pip install primepackage

#import primepackage

#This package defines primes as solutions to the riemann hypothesis. therefore all prime products are also treated as primes i.e 3*5 = 15 15v is a prime product and therefore treated as prime

#FUNCTIONS randomprime() primelist() riemannlist() isprime() isriemann()

#to calculate a random prime = primepackage.randomprime(seed) seed can be left empty but will return a value less than 589.
#if a seed is passed into randomprime() it is possible to calculate larger prime values.

#primelist() returns a list of prime numbers package.primelist(start, end) returns a list of primes from the start and up to the end

#riemannlist() works as primelist does

#isprime() and isriemann() return a boolean value for if the number is a prime/prime product or Riemann non trivial zero (rounded to the nearest integer)

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

primepackage-1.1.6.tar.gz (3.9 kB view hashes)

Uploaded Source

Built Distribution

primepackage-1.1.6-py3-none-any.whl (6.2 kB view hashes)

Uploaded Python 3

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