Multinomial Expansion

Medium
Combinatorics Counting

Problem

How many terms are there in the expansion of

after all like terms have been combined?

Original Problem Link: Click here

Solution

Step 1: Understanding the Expansion

When expanding

each term in the expansion will be of the form:

where are non-negative integers that sum to 18:

Each unique term corresponds to a different way of assigning exponents to the six variables, regardless of order.

Step 2: Reduced Version - The Core Idea

Instead of thinking in terms of exponents, simply answer:

"In how many ways can I divide 18 objects amongst 6 people, if each person can get 0 at min?"

This is a direct application of the Stars and Bars method, which states that the number of ways to distribute identical objects among groups is:

Setting (total power) and (number of variables), we get:

Step 3: Compute the Binomial Coefficient

Using the formula:

Computing step-by-step:

Thus, the number of terms in the expansion is