Search results

27 packages found

A tiny (128B) utility to check if a value is a prime number

published 3.0.0 5 years ago
M
Q
P

Test if a number is prime

published 1.0.1 9 years ago
M
Q
P

Number theory for integers for JavaScript

published 0.0.1 2 years ago
M
Q
P

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.

published 1.0.5 a year ago
M
Q
P

a simple isPrime, next and prev Prime number implementation in Js.

published 1.0.1 4 years ago
M
Q
P

A Javascript Implementation of the Lucas-Lehmer Primality Test for Mersenne Primes

published 1.0.1 7 years ago
M
Q
P

Eratosthenes primality implementation

published 1.0.0 6 years ago
M
Q
P