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

    Parameters

    • inf: number

      Lower bound

    • sup: number

      Upper bound

    Returns number[]

    Example

    // Returns the array [2, 3, 5, ... , 983, 991, 997]
    const arr = Chalkboard.numb.primeArr(0, 1000);

Generated using TypeDoc