code: function findQ(p) {
      let factors = Object.keys(nums.factorizeHash(p - 1));
  
      if (factors.length <= 3) return 0;
  
      return parseInt(factors[Math.round(Math.random() * (factors.length - 1))]);
  }
docs: const FOUND_PRIMES = primeRange(9999999); 
  finds q for p
  @param p
  @returns {number}