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

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

The discussion focuses on deriving the coefficients of the polynomial expression (1+x+x^2)^n. Participants suggest using the multinomial theorem, specifically the formula (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}}. The coefficients can be expressed as a sum of multinomial coefficients: \sum_{l=i-n}^{[i/2]}{\binom{n}{i-2l,l,n-i+l}}. The discussion highlights the challenge of expressing the function in terms of x^k alone and determining the appropriate ranges for k and l.

PREREQUISITES
  • Understanding of polynomial expressions and coefficients
  • Familiarity with the multinomial theorem
  • Knowledge of combinatorial notation, specifically binomial coefficients
  • Basic grasp of Taylor series expansions
NEXT STEPS
  • Study the multinomial theorem in detail to understand its applications
  • Learn about generating functions and their role in combinatorial problems
  • Explore advanced techniques in combinatorial enumeration
  • Investigate Taylor series and their applications in polynomial expansions
USEFUL FOR

Mathematicians, students of combinatorics, and anyone interested in polynomial expansions and coefficient derivation techniques.

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
3K
  • · Replies 17 ·
Replies
17
Views
2K
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