Questions tagged [generating-functions]

Generating functions are formed by making a series $\sum_{n\geq 0} a_n x^n$ out of a sequence $a_n$. They are used to count objects in enumerative combinatorics.

A generating function is a formal power series of the form \begin{equation*} f(x)=\sum^{\infty}_{n=0}a_nx^n \end{equation*} whose coefficients contain information about $a_n$, the sequence of numbers. For instance, suppose that the sequence is the Fibonacci sequence $0,1,1,2,3,5,8,\ldots$ Then$$f(x)=x+x^2+2x^3+3x^4+5x^5+\cdots,$$$$xf(x)=x^2+x^3+2x^4+3x^5+\cdots,$$and$$x^2f(x)=x^3+x^4+2x^5+\cdots.$$Then, it follows from the definition of the Fibonacci sequence that$$(1-x-x^2)f(x)=x$$This fact can be used to prove properties of the sequence, such as that its $n^\text{th}$ term is$$F_n = \frac{\varphi^n-(-\varphi)^{-n}}{\sqrt5},$$where $\varphi$ is the golden ratio.

4469 questions
0
votes
0 answers

Convergence of test function

Let a sequence of test functions ${\phi_{m(x)}}, m = 1, 2, . . .$ converge in D to zero, and let $\psi(x)$ be an infinitely differentiable function. Show that $\psi\phi_{m(x)}$ also converges to zero. Any help/hints would be greatly appreciated. A…
0
votes
1 answer

Compute - Coefficient Extraction

I need to compute the nth coefficient from the following expression. $[z^n]\frac{z+z^2}{\sqrt[3]{1-2z}}$ How can I proceed with this?
DSan
  • 5
0
votes
1 answer

How to find a sequence of a given generating function

I'm just trying to understand how ordinary generating functions works.. For example, how can I get the sequence of this OGF: $F(z) = \frac{z^{2}}{(1-z)^3}$ I organized it as follows: $F(z)=\frac{z^{2}}{(1-z)^3}=z^2\left ( \frac{1}{(1-z)^3} \right…
0
votes
1 answer

Find a sequence whose generating function is given.

Chap4 q2) Of which sequence is $U(s)=(1-4pqs^2)^{\frac{-1}{2}}$ the generating function(where $0
0
votes
1 answer

which series is the function $\frac{1}{1-6x^2}$ generating?

which series is the function $\frac{1}{1-6x^2}$ generating? I think it should be $f(n)=6^n$
KIMKES1232
  • 425
  • 3
  • 9
0
votes
3 answers

Expanding a generating function in a series

For a given recurrence relation the generating function is A(x)=$\frac{x}{(1-x)(1-2x)}$. Then the book says that if we want to find an explicit formula for the $a_n$'s we would have to expand A(x) in a series. The partial fraction of A(x) is $$ x…
Allorja
  • 303
0
votes
1 answer

A(x) is the generating function of the series $\{a_n\}^\infty $ ( n from 0), what generates,$f_n=(-1)^na_n$

A(x) is the generating function of the series $\{a_n\}^\infty $ ( n from 0) I am given the series $f_n=(-1)^na_n$ and need to find the function F(x). I thought that because the function $1/(1+x)$ generates the series $\lambda n\in N.(-1)^n $ so…
KIMKES1232
  • 425
  • 3
  • 9
0
votes
1 answer

Unique generating function for a sequence

For an infinite sequence $\{a_n\}$, is the generating function unique to that sequence? Can I say for example that $\frac{x}{1-x-x^2}$ is the g.f. of the Fibonacci sequence $F_n$ with initial conditions $F_0=0, F_1 = 1$?
Zoey
  • 545
0
votes
1 answer

How can I solve equations like $A(z)=1+z+(z+z^2)A(z)$?

In the context of generating functions, how would one go about solving equations like: $$A(z)=1+z+(z+z^2)A(z),$$ or $$A(z)=1+z+z^2+(z+z^2+z^3)A(z)?$$
hao
  • 1
0
votes
1 answer

Find generating function created by $a_n=2^{n+3}$, for $n\geq3$,$ a_0=1$, $a_1=\frac{5}{2}$ $a_2=3$

I hope title is understandable, wasn't sure on how to translate this task from my language. Below is my solution to this problem, is logic behind it…
Gorosso
  • 85
0
votes
2 answers

Find the generating function for the number of integer solutions to $x_1 + x_2 + x_3 + x_4 = r$ with $1 \le x_1 \le x_2 \le x_3 \le x_4$

Find the generating function for the number of integer solutions to $x_1 + x_2 + x_3 + x_4 = r$ with $1 \le x_1 \le x_2 \le x_3 \le x_4$. The textbook has showed me the solution, so I do know how to do this (If someone need it, I will update) But…
0
votes
2 answers

Generating function - ways of distribution

In how many different ways can eight identical cookies be distributed among three distinct children if each child receives at least two cookies and no more than four cookies? $x_1 \ ^2$ + $x_2 \ ^2$ + $x_3 \ ^2$ = 8 could be written as - ($x^2$ +…
swapnil
  • 73
0
votes
1 answer

Generating function - $1,1,1,1,1,1$

What is the generating function for $1,1,1,1,1,1$? I know this to be $1 + x +x^2+ x^3+x^4+x^5$ But then I saw this: $$\frac{x^6-1}{x-1} = 1 + x +x^2+ x^3+x^4+x^5$$ How was this equality obtained? Was it just a random (manual)? or is there any method…
swapnil
  • 73
0
votes
0 answers

Determine C, the generating functions GX(s), GY (s), GZ(s) and the probability mass function for the random variable Z = X + Y .

Consider two independent random variables X and Y . Random variable X can take only even values 0, 2, 4, . . ., and for any integer k it takes value 2k with probability P[X = 2k] = $C/4^k$ , where C is a constant. Random variable Y is a Bernoulli…
sanji
  • 1
0
votes
0 answers

We divide a group of people into subgroups A, B, and C, and ask each subgroup to form a line.

We divide a group of people into subgroups A, B, and C, and ask each subgroup to form a line. We also require that A have an odd number of people, and that B have an even number of people. How many ways are there to do this? Here is my attempt using…