Search results
20 packages found
Arbitrary precision modular arithmetic, cryptographically secure random numbers and strong probable prime generation/testing. It works in modern browsers, Angular, React, Node.js, etc. since it uses the native JS implementation of BigInt
Checks if a number is prime or not
Functions that exist in common browsers but are missing in node
Test if two numbers are coprime.
Fastest Prime Number Calculation logic for nodejs and browser (checks, random generator, prime range generator, primes count generator, summation of primes, factorial of primes)
- Fastest
- Prime
- Number
- Calculation
- fast primes
- fast prime
- fast
- primes
- numbers
- prime numbers
- prime
- get prime
- get primes
- fetch prime
- View more
Test if a value is a prime number.
- stdlib
- stdassert
- assertion
- assert
- utilities
- utility
- utils
- util
- number
- numeric
- integer
- int
- prime
- primality
- View more
Test if a value is a composite number.
- stdlib
- stdassert
- assertion
- assert
- utilities
- utility
- utils
- util
- number
- numeric
- integer
- int
- composite
- prime
- View more
Shashi, a simple module to generate, using pseudo-randomness, a universal family/set of hash functions, which produce integer values within the selected range (a prime number)..
- shashi
- universal hashing
- perfect hash
- perfect hashing
- hashing
- hash functions
- random functions
- randomness
- integer
- prime
- util
Assorted common math functions & utilities
- animation
- bezier
- cubic
- easing
- hermite
- interpolation
- interval
- math
- prime
- quadratic
- smooth
- solver
- t-norm
- trigonometry
Fastest Prime Number Calculation logic for browser (checks, random generator, prime range generator, primes count generator, summation of primes, factorial of primes)
- Fastest
- Prime
- Number
- Calculation
- fast primes
- fast prime
- fast
- primes
- numbers
- prime numbers
- prime
- get prime
- get primes
- fetch prime
- View more
Uses the Fermat primality test with 100 runs to determine if a number is prime
an utility to check if the given number is prime or not
Arbitrary precision modular arithmetic, cryptographically secure random numbers and strong probable prime generation/testing. It works in modern browsers, Angular, React, Node.js, etc. since it uses the native JS implementation of BigInt
Utilities to enhance Java Script
A tiny (128B) utility to check if a value is a prime number
Just a few utility functions for use with prime
A javascript utility to allow you to embed a shared prime photo gallery on your own site.
Small command line app to determine whether input number is prime or composite
Small command line app to determine whether input number is prime or composite
Provides a set of functionality for dealing with prime numbers