Search results
27 packages found
Test if a number is prime.
Maintenance: 33%. Quality: 51%. Popularity: 3%.
Test if a number is composite.
Maintenance: 33%. Quality: 51%. Popularity: 3%.
Test if two numbers are coprime.
Maintenance: 33%. Quality: 51%. Popularity: 2%.
Test if a value is a prime number.
- stdlib
- stdassert
- assertion
- assert
- utilities
- utility
- utils
- util
- number
- numeric
- integer
- int
- prime
- primality
- View more
Maintenance: 33%. Quality: 51%. Popularity: 0%.
Test if a value is a composite number.
- stdlib
- stdassert
- assertion
- assert
- utilities
- utility
- utils
- util
- number
- numeric
- integer
- int
- composite
- prime
- View more
Maintenance: 33%. Quality: 51%. Popularity: 0%.
Lucas-Lehmer primality test
Maintenance: 20%. Quality: 54%. Popularity: 0%.
Returns true or false depending on the number's parity (odd/even) and primality (prime/composite); Also checks if integer does not exceed the JavaScript MAXIMUM_SAFE_INTEGER.
Maintenance: 8%. Quality: 62%. Popularity: 0%.
Maintenance: 10%. Quality: 54%. Popularity: 2%.
is a recursive function to check if a number is prime (and a benchmark to test how slow it is :)
Maintenance: None. Quality: 61%. Popularity: 3%.
A Javascript Implementation of the Lucas-Lehmer Primality Test for Mersenne Primes
Maintenance: None. Quality: 64%. Popularity: 0%.
Test if a number is a prime number.
Maintenance: 8%. Quality: 53%. Popularity: 2%.
Simple prime number and prime factorization package
Maintenance: None. Quality: 61%. Popularity: 2%.
A tiny (128B) utility to check if a value is a prime number
Maintenance: None. Quality: 61%. Popularity: 2%.
Functional library for precise access to integer sequences such as prime numbers, square numbers, triangle numbers, etc
Maintenance: None. Quality: 63%. Popularity: 0%.
Maintenance: 6%. Quality: 54%. Popularity: 2%.
An implementation of the Miller-Rabin primality test to efficiently determine with high probability whether some arbitrarily-large number is prime.
Maintenance: 10%. Quality: 51%. Popularity: 0%.
a simple isPrime, next and prev Prime number implementation in Js.
Maintenance: None. Quality: 61%. Popularity: 0%.
Maintenance: 4%. Quality: 54%. Popularity: 2%.
Eratosthenes primality implementation
Maintenance: None. Quality: 60%. Popularity: 0%.
Primality test using fast checks and miller-rabin (all in one)
Maintenance: None. Quality: 54%. Popularity: 3%.