Chalkboard - v3.0.1
    Preparing search index...

    Function primeArr

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

      Parameters

      • inf: number

        Lower bound

      • sup: number

        Upper bound

      Returns number[]

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