Finding the Coefficient of (1+x+x^2)^n

  • Thread starter Thread starter Harmony
  • Start date Start date
  • Tags Tags
    Coefficient
Click For Summary

Homework Help Overview

The discussion revolves around finding a formula for the coefficients of the polynomial expression (1+x+x^2)^n. Participants are exploring various mathematical approaches to derive a suitable representation for these coefficients.

Discussion Character

  • Exploratory, Mathematical reasoning, Problem interpretation

Approaches and Questions Raised

  • The original poster attempts to use Taylor's expansion but struggles to find a satisfactory formula. Some participants suggest the multinomial theorem as a potential approach. Others express concerns about the complexity of converting the expressions into a usable form and seek clarification on the derivation of certain steps.

Discussion Status

Participants are actively engaging with the problem, offering insights into the multinomial theorem and its application. There is a recognition of the challenges in deriving a clean formula, and while some expressions have been proposed, there is no explicit consensus on a final solution. Clarifications and further exploration of the derivation process are ongoing.

Contextual Notes

Participants note the need to determine the appropriate ranges for variables involved in the expressions, indicating that the problem may have constraints that complicate the derivation of coefficients.

Harmony
Messages
201
Reaction score
0
2a6lh89.png


I need to find a formula that describe the sequence shown above. (The sequence is highlighted.) I am aware that the sequence is the coefficient of the polynomial (1+x+x^2)^n, and have tried using Taylor's expansion. Still, I can't get a nice formula that describe the sequence.

Any help/hint is appreciated. Thanks in advanced.
 
Physics news on Phys.org
Try the multinomium theorem

(x_1+x_2+x_3)^n=\sum_{k_1+k_2+k_3=n}{\binom{n}{k_1,k_2,k_3}x_1^{k_1}x_2^{k_2}x_3^{k_3}}

Where \binom{n}{k_1,k_2,k_3}=\frac{n!}{k_1!k_2!k_3!}
 
I have looked into it as well. The formula doesn't express the function in terms of x^k alone, and i have problem converting the expression...
 
So the multinomium says that

(1+x+x^2)^n=\sum_{k+l\leq n}{\binom{n}{k,l,n-k-l}x^{k+2l}}

So if we express the right hand theorem in the usual form, then we have

(1+x+x^2)^n=\sum_{i=0}^{2n}{\left(\sum_{l=\max\{0,i-n\}}^{[i/2]}{\binom{n}{i-2l,l,n-i+l}}\right)x^i}

So the coefficients, you look for, would be

\sum_{l=i-n}^{[i/2]}{\binom{n}{i-2l,l,n-i+l}}

I hope I didn't miscalculate...

I know this isn't really the nice answer you were looking for. But I don't know any better answers...
 
Last edited:
I am fine with that expression. The only thing is I don't quite understand the derivation (like how you express the right hand theorem). Or maybe I am just being too sleepy..:)
 
So we know that

(1+x+x^2)^n = \sum_{0\leq k+l\leq n}{\binom{n}{k,l,n-k-l}x^{k+2l}}

Let's say that we wish to find the coefficient of x^i. Then we need to find all k and l such that 0\leq k+l \leq n and such that k+2l=i. The term of x^i would then be

\sum_{0\leq k+l\leq n, k+2l=i}{\binom{n}{k,l,n-k-l}}

This would already be good. But if you want, you can write the sum with one parameter l. Just use that k+2l=i (and thus k=i-2l). The multinomial coefficients that yield \binom{n}{i-2l,l,n-i+l}. The hardest part is determining the range of l...
 

Similar threads

  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 6 ·
Replies
6
Views
2K
  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 34 ·
2
Replies
34
Views
4K
  • · Replies 17 ·
Replies
17
Views
3K
Replies
7
Views
2K
  • · Replies 13 ·
Replies
13
Views
2K
Replies
5
Views
2K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 1 ·
Replies
1
Views
1K