docs: private double getExpectedProbability(int successes)
      {
          double prob = Math.pow(p, successes) * Math.pow(1 - p, n - successes);
          BigDecimal coefficient = new BigDecimal(binomialCoefficient(n, successes));
          return coefficient.multiply(new BigDecimal(prob)).doubleValue();
      }