A variation of the binomial distribution arises when the n trials are all independent, but the probability of a success on the ith trial is θi, and these probabilities are not all equal. If X is the number of successes obtained under these conditions in n trials, show that