multiplying factorials rules