code: private static BigInteger getFactorial (int n) {
  		BigInteger fact = BigInteger.ONE;
  		for (int i = n; i > 1; i--) {
  			fact = fact.multiply (new BigInteger (Integer.toString (i)));
  		}
  		return fact;
  	}
docs: ------------------