Returns the human-readable format of the given number of milliseconds.
Implementation of the Luhn Algorithm used to validate a variety of identification numbers, such as credit card numbers, IMEI numbers, National Provider Identifier numbers etc.
Generates primes up to a given number, using the Sieve of Eratosthenes.
Calculates the distance between two points in any number of dimensions.
Calculates the sum of the powers of all the numbers from
Creates an array of numbers in the arithmetic progression, starting with the given positive integer and up to the specified limit.
Calculates the average of an array, after mapping each element to a value using the provided function.
Calculates the greatest common divisor between two or more numbers/arrays.
Calculates the sum of an array, after mapping each element to a value using the provided function.
Calculates the cartesian product of two arrays.
Initializes an array containing the numbers in the specified range where
endare inclusive and the ratio between two terms is
step. Returns an error if
Returns the powerset of a given array of numbers.
Converts a number to an array of digits, removing its sign if necessary.
Converts a color code to an
rgba()string if alpha value is provided.
Converts an integer to its roman numeral representation. Accepts value between