• Returns the number of prime numbers between the lower and upper bounds.

    Parameters

    • inf: number

      Lower bound

    • sup: number

      Upper bound

    Returns number

    Example

    // Returns 169
    const primes = Chalkboard.numb.primeCount(0, 1000);

Generated using TypeDoc