# libprimesieve library

## Properties

dartLibraryVersion
The Dart interface version number, in the form "minor.major".
final
inhibitWarnings bool
Whether to inhibit warnings generated when assigning numThreads or sieveSize with a value which is modified by the underlying library.
maxStop int
The largest valid stop number for primesieve. [...]
The number of threads to use in all the functions that generate or enumerate primes. [...]
sieveSize int
The sieve size in KiB (kibibyte). [...]
version
The C/C++ primesieve library version number, in the form “minor.major”.

## Functions

countPrimes(int start, int stop) int
Count the primes within the interval [start, stop]. [...]
Count the prime quadruplets within the interval [start, stop]. [...]
countQuintuplets(int start, int stop) int
Count the prime quintuplets within the interval [start, stop]. [...]
countSextuplets(int start, int stop) int
Count the prime sextuplets within the interval [start, stop]. [...]
countTriplets(int start, int stop) int
Count the prime triplets within the interval [start, stop]. [...]
countTwins(int start, int stop) int
Count the prime twins within the interval [start, stop]. [...]
generateNPrimes(int n, int start) List<int>
Return an array with the first n primes >= start. [...]
generatePrimes(int start, int stop) List<int>
Return an array with all the primes in [start, stop]. [...]
nthPrime(int n, int start) int
Find the nth prime beyond start. [...]
printPrimes(int start, int stop) → void
Print the primes within the interval [start, stop]. [...]
printQuadruplets(int start, int stop) → void
Print the prime quadruplets within the interval [start, stop]. [...]
printQuintuplets(int start, int stop) → void
Print the prime quintuplets within the interval [start, stop]. [...]
printSextuplets(int start, int stop) → void
Print the prime sextuplets within the interval [start, stop]. [...]
printTriplets(int start, int stop) → void
Print the prime triplets within the interval [start, stop]. [...]
printTwins(int start, int stop) → void
Print the prime twins within the interval [start, stop]. [...]