20 packages found
Verify if a number is an prime number
Test if a number is prime.
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 two numbers are coprime.
Test if a value is a composite number.
- stdlib
- stdassert
- assertion
- assert
- utilities
- utility
- utils
- util
- number
- numeric
- integer
- int
- composite
- prime
- View more
A collection of functions for working with BigInts.
- extra
- bigint
- big
- integer
- aliquotParts
- clamp
- greatestPrimeFactor
- hcf
- leastPrimeFactor
- map
- mean
- rootMeanSquare
- abs
- aliquotSum
- View more
A collection of common number functions.
- extra
- number
- aliquotParts
- clamp
- greatestPrimeFactor
- hcf
- leastPrimeFactor
- map
- mean
- norm
- rootMeanSquare
- aliquotSum
- arithmeticMean
- binomial
- View more
A collection of functions for working with BigInts {web}.
- extra
- bigint
- big
- integer
- aliquotParts
- clamp
- greatestPrimeFactor
- hcf
- leastPrimeFactor
- map
- mean
- rootMeanSquare
- abs
- aliquotSum
- View more
A collection of common number functions {web}.
- extra
- number
- aliquotParts
- clamp
- greatestPrimeFactor
- hcf
- leastPrimeFactor
- map
- mean
- norm
- rootMeanSquare
- aliquotSum
- arithmeticMean
- binomial
- View more
Check if a number is a prime number.
Check if a number is composite
This package provides a function to which you may pass any integet and it will return true if the given number is a prime number, false otherwise.
Checks if a number is prime.
Checks if a number is prime.
Checks if value is prime.
Checks if value is prime.
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
A number is a mathematical object used to count, measure, and label.
- extra
- number
- aliquotSum
- ceil
- clamp
- compare
- floor
- fromRoman
- fromScientific
- is
- isPrime
- lerp
- map
- properDivisors
- View more
a commandIs framework for discord.js shoutout to my boi itsPrime the greatest fucking youtuber of all time