Returns the largest prime gap between the lower and upper bounds.
Lower bound
Upper bound
// Returns 8, the largest prime gap between 1 and 100const gap = Chalkboard.numb.primeGap(1, 100); Copy
// Returns 8, the largest prime gap between 1 and 100const gap = Chalkboard.numb.primeGap(1, 100);
Generated using TypeDoc
Returns the largest prime gap between the lower and upper bounds.