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
1
vote
1 answer

Finding the generating funcrtion associated with a sequence

I'm having a little trouble understanding this type of question: Find the generating function for this sequence. $$ 0,0,1,0,16,32,64,128,256,512...$$ I'm pretty new to this concept of generating functions and I don't completely understand how to…
1
vote
1 answer

Use generating function to find coefficient

Use a generating function to find the coefficient of $x^{22}$ in: $$\frac{1+3x}{(1-x)^8}$$ I know I need to use a binomial expansion on the lower term, but what about the upper term?
J8m
  • 39
1
vote
0 answers

Standard deviation of a function

Good day! Im now dealing with some dilemma regarding on how to get the standard deviation of a function in a mathematical way. Using the function $$\frac{2}{π} \ln (n)$$ and some mathematics software, I found $$0.778\times n^{0.15}$$ as the standard…
1
vote
1 answer

Generating function for $1,\frac{1}{2!},\frac{1}{4!},\dotsc$

I'm trying to find a generating function for $1,\frac{1}{2!},\frac{1}{4!},\dotsc,\frac{1}{(2k)!},\dotsc$. This means I want to get a function represented by $1+\frac{x}{2!}+\frac{x^2}{4!}+\dotsb$. This looks close to $\frac{e^x+e^{-x}}{2}$, but it…
bret
  • 43
1
vote
0 answers

Determine a generating function and name the coefficient you would need to count the solutions to distribution question

The Full Question Find the generating function and name the coefficient which would give us the solution to this problem: count all integer solutions to $x_1 + x_2 + x_3+x_4+x_5 = 30$ where $x_i \geq 0$ and $ 0\leq i \leq 5$ and $x_2$ is even and…
Dunka
  • 2,787
  • 12
  • 41
  • 69
1
vote
0 answers

Nonstandard exponential generating functions

Exponential generating functions have an $n!$ in the denominator. Does anyone have references to generating functions with an $n^n$ in the denominator?
1
vote
2 answers

Recursion with generating function.

Using generating function determine $u_n$ $$u_{n+2} -6u_{n+1} + 9u_n = 2^n + n $$ I am asking for you to give me some advices. Thanks in advance.
user180834
  • 1,453
0
votes
1 answer

Uncertain Step in Proving an Identity from Generating Functions

From a lecture: It is required to prove that $ \sum_{i=1}^{n} i = \frac{n(n+1)}{2} $ using generating functions. It goes as follows: The generating function $ g(x) = 1+2x+3x^2+4x^3...= \sum_{n=0}^{\infty} (n+1)x^n = \frac{1}{(1-x)^2}$ Now define…
AER
  • 272
0
votes
1 answer

what are generating functions

If I have to explain in simple terms the intuition of what is meant by generating function . e.g.: in my notes I have fibonacci sequence := $0,1,1,2,3,5,8$ . it's recurrence relation is given by : …
spectraa
  • 1,775
0
votes
1 answer

Generating function question, seemingly lacking information

I have to prove that a generating function for the sequence $\{a_k\}$ where $a_k = (-8)^k$ for all integers $k\geq 0$ is $\cfrac{1}{1+8x}$. But I don't have any information on what $x$ is. Nor is there a $\sum$ in front of $a_k$ or the fraction…
Display Name
  • 1,443
  • 1
  • 20
  • 45
0
votes
0 answers

Generating function meaning

Given: $100$ banknotes of $20\$$, $100$ banknotes of $50\$$ and $100$ banknotes of $100\$$. How many ways are to create a pile with the amount of $n$? Notice that you cannot differ between banknotes with the same amount. I was asked to create a…
AnnieOK
  • 2,920
0
votes
1 answer

Genereting function

Let $p(n)$ denote the number of unrestricted partitions of $n$. How do I explain that the generating function $f(x)$ of $p(n)$ is $$f(x)=\prod_{n=1}^\infty \displaystyle\frac{1}{1-x^n} $$ Thanks a lot!
EQJ
  • 4,369
0
votes
2 answers

Get closed form of a series from its generating function

If we have the ordinary generating function of a series: $f(x) = \frac{1}{e^z -3}$ Can we get its closed form?
0
votes
2 answers

Ordinary generating functions

Let's define the sequence $a_n$, $n \geq 0$ by making $a_0 = 0$ and $a_{n+1} = 2a_n + n$ for $n \geq 0$. Show that if $F(x) = \sum_{n=0}^{\infty} a_nx^n$ is the generating function of the sequence, then $$F(x) = \frac{x^2}{(1-x)^2(1-2x)}$$
0
votes
2 answers

How to find the coefficient of $x^8$ in the following:

I need to find the coefficient of $x^8$ in the following using generating functions: $$\frac{(1+x)^2}{1-3x} $$ I attempted to write out three different generating functions adding together to give the numerator with a common denominator of $1-3x$.…
H5159
  • 969