30 packages found
Test if a number is prime.
Test if a number is prime in constant time, using a cached Sieve of Eratosthenes.
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 number is a prime using Strengthening the Baillie-PSW primality test.
Suite for testing primality, finding primes, and finding prime k-tuples
Node module for checking if a number is prime
small package to check if given number is a prime number.
Simple type checker in JavaScript.
- utils
- util
- type checking
- type checker
- type
- checker
- isAlpha
- isAlphanumeric
- isArguments
- isArray
- isBoolean
- isDate
- isDecimal
- isDefined
- View more
isNumber, isOdd, isEven, isNumeric, isNotNumber, isPrime, findPrimeToN
Common typescript ready prototypes available in both CommonJS and ECMAScript
- server-side
- client-side
- common
- typescript
- prototype
- array
- all
- any
- append
- average
- chunk
- clone
- compact
- contains
- View more
Simple type checker in JavaScript.
- utils
- util
- type checking
- type checker
- type
- checker
- isAlpha
- isAlphanumeric
- isArguments
- isArray
- isBoolean
- isDate
- isDecimal
- isDefined
- View more
A collection of functions for working with BigInts.
A collection of common number functions.
- extra
- number
- clamp
- hcf
- map
- mean
- norm
- rootMeanSquare
- aliquotSum
- arithmeticMean
- binomial
- ceil
- ceilDiv
- compare
- View more
A collection of common number functions {web}.
- extra
- number
- clamp
- hcf
- map
- mean
- norm
- rootMeanSquare
- aliquotSum
- arithmeticMean
- binomial
- ceil
- ceilDiv
- compare
- View more
A collection of common mathematical functions.
- extra
- math
- clamp
- hcf
- map
- mean
- norm
- rootMeanSquare
- aliquotSum
- arithmeticMean
- binomial
- ceil
- ceilDiv
- constrain
- View more
A collection of common mathematical functions {web}.
- extra
- math
- clamp
- hcf
- map
- mean
- norm
- rootMeanSquare
- aliquotSum
- arithmeticMean
- binomial
- ceil
- ceilDiv
- constrain
- View more
A collection of functions for working with BigInts {web}.
This package is a combination of many useful functions.
- solverjs
- solver
- jssolver
- jssolution
- solverjavascript
- solverinjs
- solverjsfirst
- info
- maths
- getFib
- getGcd
- printFib
- sumAllDigit
- reverseNumber
- View more
yet another isprime package with caching. computes prime numbers using trial division.
A BigInt can represent whole numbers larger than 2⁵³ - 1.
- extra
- bigint
- big
- integer
- abs
- arithmeticMean
- cbrt
- ceilDiv
- compare
- cubicMean
- floorDiv
- gcd
- geometricMean
- harmonicMean
- View more