Search results
266 packages found
Beta prime distribution constructor.
- stdlib
- stdmath
- statistics
- stats
- distribution
- dist
- object
- class
- constructor
- ctor
- probability
- prob
- beta
- prime
- View more
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
Test if two numbers are coprime.
Create an iterator which generates a sequence of prime numbers.
Create an iterator which generates a sequence of composite numbers.
- stdlib
- stdmath
- mathematics
- math
- composites
- composite
- prime
- integer
- int
- number
- sequence
- iterator
- iterate
- iteration
check the number: 1.game "7 Boom" 2. prime or not 3. even or odd.
Check primality of a number in O(1). Works for every single positive integer, except ones bigger than 500_000
usingbytes-dsa is comprehensive JavaScript library for common data structures and algorithms. This library is designed to be both educational and practical, providing implementations of fundamental data structures and algorithms that can be used in a vari
- data-structures
- algorithms
- javascript
- list
- tree
- SinglylinkedList
- DoublyLinkedList
- OrderedSinglyLinkedList
- OrderedDoublyLinkedList
- CircularSinglyLinkedList
- CircularDoublyLinkedList
- BinarySearchTree
- AVLTree
- RedBlackTree
- View more
Beta prime distributed pseudorandom numbers.
Fastest algorithm ever created to detect if a number is prime in O(1), that works in 95%+ cases for numbers in the 32-bit int range
A simple utility library for common mathematical operations.
The first 100,000 prime numbers.
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
The first 100,000 prime numbers.
this package is a package to check prime number.
Quadratic Sieve integer factorization method for JavaScript bigints
Create a readable stream for generating pseudorandom numbers drawn from a beta prime distribution.
Create an iterator for generating pseudorandom numbers drawn from a beta prime distribution.