Combinatorics for number of distinct terms in multinomial expansion

  • Thread starter Thread starter zxen
  • Start date Start date
  • Tags Tags
    Combinatorics
Click For Summary
The discussion focuses on determining the number of distinct terms in the multinomial expansion represented by the general term 8!/i!j!k! * x^(3j+4k) for i + j + k = 8. It highlights the challenge of counting distinct outputs of the expression 3j + 4k while avoiding overcounting due to repeated values from specific combinations of j and k. Attempts to resolve the issue include using the stars and bars method and exploring the expansion of ((a+b)+c)^8, but inconsistencies arise between these approaches. The need for a method that accurately counts unique values of 3j + 4k without redundancy is emphasized. Overall, the conversation seeks a clearer solution to the combinatorial problem presented.
zxen
Messages
2
Reaction score
0
Homework Statement
If the number of terms in the expansion of (1+x^3 + x^4) ^8 is N, find the difference in the digits of N.
Relevant Equations
Multinomial expansion.
Expanding the multinomial, the general term is 8!/i!j!k! * x^(3j+4k) for all i + j + k = 8.

The number of terms would be the number of distinct powers of x, the number of distinct outputs of 3j+4k with the specified constraints for i, j and k.

I attempted to make cases. 3j+4k where j+k <= 8 would have maximum 45 solutions. (Using stars and bars for solving j + k = 8 - i)

But this overcounts, because of cases where j = 0,4,8 and k = 0,3,6 (multiples of 4 and 3 resp.) 3j+4k has a repeated value.

Is there some way I can obtain the answer without actually having to count values of 3j+4k for j=0,4,8 and k=0,3,6?
For reference, there's this answer on AOPS which I couldn't understand. https://artofproblemsolving.com/community/c4h1789008p11825444
 
Last edited:
Physics news on Phys.org
Just a thought: How about breaking it into ##((a+b)+c)^8##, knowing that ##(a+b)^8## has## 9 ##terms?
Edit: The other way is counting the nonnegative solutions to ##x_1+x_2+x_3=8##.
Edit 2: Ouch, it seems these two don't agree with each other. Let me double-check.
 
Last edited:
WWGD said:
Just a thought: How about breaking it into ##((a+b)+c)^8##, knowing that ##(a+b)^8## has## 9 ##terms?
Edit: The other way is counting the nonnegative solutions to ##x_1+x_2+x_3=8##.
Edit 2: Ouch, it seems these two don't agree with each other. Let me double-check.
That really doesn't help as to the uniqueness of ##3j+4k##. Even if we solve for the nonnegative solutions, some pairs of ##(j,k)## exist which will give the same value of ##3j+4k## and be clubbed into the same term.
 
The working out suggests first equating ## \sqrt{i} = x + iy ## and suggests that squaring and equating real and imaginary parts of both sides results in ## \sqrt{i} = \pm (1+i)/ \sqrt{2} ## Squaring both sides results in: $$ i = (x + iy)^2 $$ $$ i = x^2 + 2ixy -y^2 $$ equating real parts gives $$ x^2 - y^2 = 0 $$ $$ (x+y)(x-y) = 0 $$ $$ x = \pm y $$ equating imaginary parts gives: $$ i = 2ixy $$ $$ 2xy = 1 $$ I'm not really sure how to proceed from here.

Similar threads

Replies
1
Views
1K
Replies
29
Views
3K
  • · Replies 10 ·
Replies
10
Views
5K
  • · Replies 0 ·
Replies
0
Views
1K
Replies
1
Views
2K
  • · Replies 1 ·
Replies
1
Views
3K
Replies
39
Views
5K
  • · Replies 25 ·
Replies
25
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 6 ·
Replies
6
Views
2K