Search results

75 packages found

JavaScript library for efficient prime number detection and arithmetic, with customizable algorithms for large numbers.

published 1.0.3 7 months ago
M
Q
P
M
Q
P

Checks if a number is prime or not

published 1.0.1 9 months ago
M
Q
P

Generate a cryptographically-random probable prime number that passes the Miller-Rabin test with the given number of bits of entropy.

published 1.0.0 10 months ago
M
Q
P

Fastest Prime Number Calculation logic for nodejs and browser (checks, random generator, prime range generator, primes count generator, summation of primes, factorial of primes)

published 0.1.0 a year ago
M
Q
P

A function that deterministically checks if a number is prime.

published 1.0.0 10 months ago
M
Q
P

Check if number is prime

published 2.3.0 a year ago
M
Q
P

This library provides a simple way to do math operations in base 100

published 1.0.7 2 months ago
M
Q
P

Generate a random prime number

published 4.0.0 2 years ago
M
Q
P

Fastest Prime Number Calculation logic for browser (checks, random generator, prime range generator, primes count generator, summation of primes, factorial of primes)

published 0.1.0 a year ago
M
Q
P

Check prime number using only RegExp!

published 1.1.1 6 years ago
M
Q
P

Finds any prime numbers up to given limit. Based on linear Sieve of Eratosthenes algo.

published 1.0.3 8 years ago
M
Q
P

A simple function that returns the nth prime number

published 1.0.4 6 years ago
M
Q
P

Suite for testing primality, finding primes, and finding prime k-tuples

published 1.0.1 3 years ago
M
Q
P
M
Q
P

small package to check if given number is a prime number.

published 1.0.0 4 years ago
M
Q
P

Generate a random prime number

published 2.0.0 2 years ago
M
Q
P
M
Q
P

Functions that exist in common browsers but are missing in node

published 1.8.2 2 years ago
M
Q
P

O(1) Algorithm to check if number is not prime that works in 95%+ cases.

published 1.0.1 4 months ago
M
Q
P