antiprime
    Preparing search index...

    antiprime

    Test and find antiprimes (highly composite numbers): positive integers with more factors than any smaller positive integer. Also test and find superior antiprimes (superior highly composite numbers), a rarer subset of the antiprimes.

    Every function and the Antiprime class judge a negative number by its absolute value, so isAntiprime(-12) is true. Inputs must be within the safe integer range (up to Number.MAX_SAFE_INTEGER).

    Antiprime
    PrimeFactor
    factors
    isAntiprime
    isAntiprimeCandidate
    isConsecutivePrimeFactors
    isPrime
    isPrimeExponentsReducing
    isSuperiorAntiprime
    nextPrime
    primeFactors
    HighlyCompositeNumber → Antiprime
    isHighlyComposite → isAntiprime
    isSuperiorHighlyComposite → isSuperiorAntiprime