package
Version:
v0.33.0
Opens a new window with list of versions in this module.
Published: Oct 29, 2025
License: MIT
Opens a new window with license information.
Imports: 9
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
Index returns the index of the given number in the sorted list of primes
Iter returns an iterator over all Primes
Iterr returns an iterator over a range of Primes
Len returns the length of the list of primes
MakePrimes finds and returns all primes <= limit
Nth returns the nth prime
Pi returns the number of primes below (and including) n
Prime returns true if p is a prime
PrimeMax returns the largest prime in the list of primes
SlowPrime returns whether a number is prime or not, using a brute force search
Source Files
¶
Click to show internal directories.
Click to hide internal directories.