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
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
Built Distribution
Hashes for primepackage-1.1.6-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d85c546de7b5c5d8c09f4d1427b4a586fa1dc6eddd9dea3f1c96dcb40ea3bfec |
|
MD5 | 8b42d78200742c14182bb8e057983b72 |
|
BLAKE2b-256 | 2de7330a0666eb37f73d04afc5fb3f398b6113e69b8290bbb8a264ebbf0adc29 |