Generating Function: Formula for Nth Term?

Click For Summary

Discussion Overview

The discussion revolves around the existence of a general formula for the nth term of a sequence derived from a generating function. Participants explore the implications of different types of generating functions and the methods to extract terms from them, focusing on both theoretical and practical aspects of generating functions.

Discussion Character

  • Exploratory
  • Technical explanation
  • Debate/contested

Main Points Raised

  • Some participants question whether a general formula for the nth term can be derived solely from a generating function, emphasizing the need for additional information such as the first few terms.
  • Others argue that different types of generating functions (ordinary, exponential, Dirichlet) have distinct rules for manipulation and extraction of terms, suggesting that the type of generating function affects the approach taken.
  • A participant mentions that the process of obtaining terms from a generating function is analogous to extracting terms from a Taylor series, implying a need for familiarity with generating functions.
  • One participant provides a link to external resources that may address the original question about generating functions, indicating that there are established methods available.
  • Another participant introduces a specific mathematical expression related to the coefficients of a generating function, suggesting a contour integral approach for extracting terms, while noting that the effectiveness of this method can vary based on the generating function's characteristics.

Areas of Agreement / Disagreement

Participants express differing views on the necessity of providing initial terms to derive a general formula from a generating function. There is no consensus on the best approach or the implications of different types of generating functions.

Contextual Notes

The discussion highlights the complexity of generating functions and the various methods available for term extraction, indicating that assumptions about the nature of the generating function can significantly impact the analysis.

Emilijo
Messages
35
Reaction score
0
Does exist general formula for nth term in sequence if I have generative function?
In my case, generative function is (1/(1-x))-(1/(1-x^3)).
 
Physics news on Phys.org
Emilijo said:
Does exist general formula for nth term in sequence if I have generative function?
In my case, generative function is (1/(1-x))-(1/(1-x^3)).
I think so but you may have to give the 1st 3 terms and the generating function.
 
I don't have to give 1st 3 terms. If I have generating function, the sequence is strictly given, and I just want to have formula for getting nth term in the sequence.
Now, what is the formula?(general formula, and formula for my case)
 
Emilijo said:
I don't have to give 1st 3 terms. If I have generating function, the sequence is strictly given, and I just want to have formula for getting nth term in the sequence.
Now, what is the formula?(general formula, and formula for my case)

Emilio, there is a simple rule that people asking for help should know. If people who are willing to help ask for something, you better provide it if you want their help. Reading your answer motivates people not to answer your question. Arrogance does not help.
 
Emilijo said:
If I have generating function, the sequence is strictly given

Nonsense. There are different types of generating functions: "ordinary generating functions", "exponential generating function", "Dirchlet generating functions" and so on. They each have own rules for manipulation (especially multiplication), and what you need to do to obtain the individual terms is different. Just telling us "here is a generating function" gives no information about the underlying series.

More to the point, that process is directly obtained from the definition of the generating function you are using. It's the same process of obtaining terms from a Taylor series. If you have not studied generating functions before then I suggest you read Generatingfunctionology. It's free off the web.
 
The sequence you give has the Taylor series coefficient function 4/3Sin(Pi*n/3)^2, which may simplify further given n is an integer.

If you want a general form for the coefficients of a generating function, you can use an contour integral from complex analysis which extracts the coefficient:

\frac{1}{2\pi i}\oint_{|z|<1}\frac{f(z)}{z^{n+1}}dz,

where f(z) is your generating function, and n is the element index in the sequence you are trying to obtain. You can use the substitution z=e^{iy} with the new limits y=0 and y=2\pi to compute the integral.

This can be more useful than the Taylor approach sometimes, but as has been said before generating functions come in many different forms, and it is best to learn the art in general really. You may find that if your generating function has no "nice" pattern to it, then you cannot find a sequence function (e.g. 2 + 3x + 5x^2 + 7x^3 + 11x^4 + ... + p_n x^n + ..., where p_n is the n-th prime)
 

Similar threads

  • · Replies 1 ·
Replies
1
Views
4K
  • · Replies 0 ·
Replies
0
Views
2K
  • · Replies 7 ·
Replies
7
Views
3K
  • · Replies 25 ·
Replies
25
Views
3K
  • · Replies 5 ·
Replies
5
Views
3K
  • · Replies 3 ·
Replies
3
Views
1K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 23 ·
Replies
23
Views
4K
  • · Replies 3 ·
Replies
3
Views
2K