function approximationError(exactCount, approximateCount) {
  return (Math.abs((exactCount - approximateCount) / exactCount) * 100);
}
Calculates the error between exact and approximate prime factor counts.
@param {number} exactCount
@param {number} approximateCount
@returns {number} - approximation error (percentage).