Questions tagged [generating-functions]
A generating function is a way of encoding an infinite sequence of numbers by treating them as the coefficients of a formal power series. Tag questions involving generating functions in this.
444 questions
3
votes
2
answers
233
views
Recurrence for expansion of EGF $\frac{\exp(x)}{\cos(x)-\sin(x)}$
Let
$a(n)$ be an integer sequence with EGF $A(x)$ such that $$ A(x) = \frac{\exp(x)}{\cos(x)-\sin(x)}. $$
$T(n,k)$ be an integer coefficients such that $$ T(n,k) = T(n-1,k) + (k+1)T(n-1,k+1) + kT(n-1,...
0
votes
0
answers
120
views
Invertibility of a semi-infinite lower triangular Toeplitz matrix
Let $\left(\dots, 0, 0, a_0, a_1, a_2, \dots \right)$ be a totally positive (TP) sequence. Is its corresponding Toeplitz matrix
$$A = \begin{bmatrix}
a_0 & \cdots & \cdots & \...
3
votes
0
answers
206
views
Analytic continuation of algebraic functions
Consider the polynomial $K(z,u)= u^e- z (p_0+p_1 u+...+p_k u^k)$, where: $k,e$ are nonnegative integers and the coefficients $p_i$ are nonnegative reals such that $0< \sum_i p_i \leq 1$ with $p_0&...
4
votes
1
answer
188
views
Closed form for the convolution type recurrence with coefficients
Let $P_n = P_n(t)$ be the sequence of polynomials such that $P_0=P_1=1$ and it satisfies three equivalent recursive relations:
\begin{align*}
P_{n+1} &= \sum_{k=0}^{n}{n \choose k} \left(kt+k+1\...
1
vote
2
answers
312
views
Expansion identity for the Eulerian polynomials of the second order
Background
$\newcommand{\polylog}{\mathrm{PolyLog}}$
The Eulerian polynomials $A_{m}(\cdot)$ are defined by the exponential generating function:
\begin{equation}
\frac{1-x}{1-x \exp[ t(1-x) ] } = \...
1
vote
0
answers
83
views
Similar algorithms for exponential transforms of some exponential generating functions
Let
$a_1(n)$ be A003713, i.e., an integer sequence whose exponential generating function $A_1(x)$ satisfies $$ A_1(x) = \log\left(\frac{1}{1+\log(1-x)}\right). $$
$a_2(n)$ be A141209, i.e., an ...
7
votes
2
answers
375
views
A "Lambertization-like" operator on functions
Define an operator $L$ on, say, formal series $f(x)$ with $f(0)=1$ by requiring that $L(f)=F$ is the solution of the functional equation
$$
F(xf(x))=f(x).
$$
Some examples:
\begin{align*}
L(1)&=1;\...
1
vote
1
answer
169
views
Recursion for solution of $(f(x))' = \exp(px) f(qx)$
Let
$a(n)$ be an integer sequence whose exponential generating function $f(x)$ satisfies $$ (f(x))' = \exp(px) f(qx). $$
$R(n,k)$ be an integer coefficients such that $$ R(n,k) = qR(n,k-1) + pR(n-1,k-...
6
votes
1
answer
286
views
Counting lower triangular 0-1-matrices with connected Coxeter permutation
Let $L_n$ denote the set of $n \times n$ lower triangular 0-1 matrices with ones on the diagonal. We associate to $M \in L_n$ a permutation $P$ as the unique permutation in the Bruhat decomposition of ...
2
votes
0
answers
258
views
$\mathcal{P}$-rook polynomial of a grid
The $\mathcal{P}$-rook polynomial of a polyomino $\mathcal{P}$ is
$$
r_\mathcal{P}(T) = \sum_{k=0}^{r(\mathcal{P})} r_k(\mathcal{P})\ T^k,
$$ where $r_k(\mathcal{P})$ is the number of ways to place $...
2
votes
3
answers
589
views
Are there known explicit closed-form expressions for the Taylor polynomials of $1 / (1-q)^n$?
Let
$$
P_{n,d}(q) := \sum_{k=0}^d \binom{n+k-1}{k} q^k
$$
denote the Taylor polynomials (of degree $d$) of $\frac{1}{(1-q)^n}$ (truncated binomial series, the coefficients are the multiset ...
1
vote
0
answers
113
views
Elegant recursion such that its exponential function transform leads to A318618
Let
$a(n)$ be A318618, i.e., the number of rooted forests on n nodes that avoid the patterns $321$, $2143$ and $3142$ whose exponential function is $A(x)$. Here $$ a(n) = n! \left(1 + \sum\limits_{k=...
2
votes
1
answer
228
views
Recursion for A014307
Let
$a(n)$ be A014307 whose exponential generating function satisfies $$ A(x) = \sqrt{\frac{\exp(x)}{2-\exp(x)}}. $$
Let $b(n,m)$ be the family of integer sequences whose exponential generating ...
7
votes
0
answers
295
views
What really is a $-1$ element set and what does it have to do with the bernoulli numbers?
This is a categorification question:
The sequence of exponential generating functions (indexed by $n$) given by $(e^{x} -1)^n$ allow you to count the number of surjective maps from a $k$ element set ...
7
votes
1
answer
573
views
Can a product of non-palindromic $\mathcal{P}$-rook polynomials be palindromic?
I have a question whose answer may be trivial, but I haven't been able to settle it. It concerns the palindromicity of a kind of rook polynomial of a collection of cells.
A polyomino is a set of cells ...
1
vote
1
answer
225
views
Is the generating function for triple-turn-avoiding grid Hamiltonian paths D-finite?
Let
$$ \mathcal{G}_{k,n}:=\{1,\dots ,k\}\times\{1,\dots ,n\}\subset\mathbb{Z}^{2}, \qquad k,n\ge1, $$
be a $k\times n$ rectangular lattice graph. A Hamiltonian path (a walk that visits every vertex ...
1
vote
0
answers
137
views
Is this convolution identity involving Bernoulli numbers known?
I recently discovered the following identity involving Bernoulli numbers:
$$
B_{n+m+1} = -\sum_{k=0}^{n} \sum_{v=0}^{m} \frac{(n+m+1)! \, B_k \, B_v}{(n+m-k-v+2)! \, k! \, v!}
$$
This holds for all ...
3
votes
1
answer
181
views
Closed form for row polynomials of A105306
Let
$T(n,k)$ be A105306 (i.e., triangle read by rows: $T(n,k)$ is the number of directed column-convex polyominoes of area $n$, having the top of the rightmost column at height $k$) whose ordinary ...
1
vote
0
answers
82
views
Recursion for integer coefficients for A000123
Let
$a(n)$ be A000123 (i.e., number of binary partitions: number of partitions of $2n$ into powers of $2$), whose ordinary generating function is $$ \frac{1}{1-x} \prod\limits_{j=0}^{\infty} \frac{1}{...
1
vote
0
answers
158
views
Algorithm that allows to get any value of A000123 if finite number of values of A002577 are known
Let
$T(n,k)$ be an integer coefficients such that $$ T(n,k) = \begin{cases} 1 & \text{if } k = 0 \vee n = k \\ \displaystyle{ \sum\limits_{i=k-1}^{n-1} T(n-1,i) T(i,k-1) } & \text{otherwise} \...
2
votes
1
answer
255
views
A structured recursive formula for the complete homogeneous symmetric polynomial [closed]
I recently discovered a recursive, closed-form summation formula that appears to compute the complete homogeneous symmetric polynomial $h_n(x_0, x_1, \dots, x_{m-1})$, but in a more structured and ...
1
vote
1
answer
209
views
Signed partial sums of numbers of binary partitions leading to certain polynomials
Let
$a(n)$ be A000123, i.e., number of binary partitions: number of partitions of $2n$ into powers of $2$. Here $$ a(2n+1) = a(2n) + a(n), \\ a(2n) = a(2n-1) + a(n), \\ a(0) = 1. $$
$T(n,k)$ be ...
31
votes
6
answers
4k
views
Have you seen my power series?
I have a formal power series $\Phi(q,t)$ that satisfies the following functional equation:
$$\Phi(q,t)\cdot \Phi(q^{-1},-t) = 1.$$
Is there a nice known family of functions that satisfies identities ...
0
votes
0
answers
76
views
Recursion for A007863
Let
$a(n)$ be A007863 whose ordinary generating function satisfies $$ x^2A(x)^3 + xA(x)^2 + (-1+x)A(x) + 1 = 0 $$ and also satisfies $$ A(x) = \exp \left(\sum\limits_{n=1}^{\infty} \left[ \sum\...
2
votes
0
answers
105
views
Recursion for A382991
Let
$a(n)$ be A382991 whose ordinary generating function is $$ A(x) = 1 + \sum\limits_{i=1}^{\infty} \prod\limits_{j=1}^{i} \left( jx + \frac{x^2}{1-x} \right). $$
$R(n,k)$ be an integer coefficients ...
2
votes
0
answers
83
views
Algorithm for row polynomials of A253829
Let
$T(n,k)$ be A253829 whose ordinary generating function is $$ A(x,z) = \prod\limits_{n=1}^{\infty} \frac{1-z}{1-z-xz^n}. $$
$\nu$ be a vector of fixed length $m$ with elements $\nu_i = \delta_{1,i}...
3
votes
0
answers
163
views
Combinatorial interpretation of certain family of continued fractions (as generating functions)
Let
$f(n)$ and $g(n)$ be an arbitrary functions with integer values defined for $n \geqslant 0$.
$T(n,k)$ be an integer coefficients whose ordinary generating function is $$ \cfrac{1}{1-f(0)x-\cfrac{...
1
vote
1
answer
136
views
Production matrix for certain family of integer coefficients
Let $a(n)$ be an arbitrary integer sequence with exponential generating function $A(x)$ and $a(1)=1$.
Let $T(n,k)$ be an integer coefficients with exponential generating function $\exp(tA(x))$.
Let $b(...
0
votes
0
answers
99
views
Asymptotic for $b_n$, term of the Binomial Transform of $a_n$, with $A(x) = \text{Ei}(x) - e^a\text{Ei}(x-a) + \ln\left(\frac{a-x}{x}\right) + C$
It is known that the radius of convergence of $A(x)$ is $a$, where $a \in \mathbb{R}$ satisfies $a \geq 1$. The generating function $A(x)$ is:
$$
A(x) = \text{Ei}(x) - e^a \text{Ei}(x - a) + \ln\left( ...
2
votes
0
answers
88
views
Algorithm for A103239
Let $a(n)$ be A103239. Here
$$
1 = \sum\limits_{n=0}^{\infty} a(n) \frac{x^n}{(1-x)^n} \prod\limits_{j=0}^{n} (1 - (j+2)x).
$$
Start with $A$ and vector $\nu$ of fixed length $m$ with elements $\nu_i =...
0
votes
0
answers
57
views
Algorithm based on signed partial sums
Let $a(n)$ be an integer sequence with ordinary generating function $A(x)$ such that
$$
A(x) = \prod\limits_{k=1}^{\infty} \frac{1}{1+\frac{(-x)^k}{1-x}}.
$$
Start with vector $\nu$ of fixed length $m$...
3
votes
1
answer
347
views
Evaluating $\sum_{i=0}^{s}\binom{i+A}{A}(B-s+i)_i\ x^i$
I'm doing a research and encountered a recurrence relation of the form:
$$a_{n+1,s}=\sum_{i=0}^{s}\binom{i+A}{A}(B-s+i)_ia_{n,s-i}$$
where $A$ and $B$ are some integers, and $(m)_k$ is the falling ...
7
votes
2
answers
595
views
Question about the "integer lattice reachability problem", and whether it can be solved with generating function
Here is the 2-dimensional integer lattice reachability problem:
Suppose we are in a 2d integer plane, and are starting from $(0, 0)$. We will add $n$ vectors, and each vector is from a pre-defined ...
0
votes
0
answers
104
views
Algorithm for sequence with simple generating function
Let $a(n)$ be an integer sequence with binary values (that is, $a(n) \in \{0,1\}$) such that there at least one $0$ after each $1$.
Let $b(n)$ be an integer sequence of numbers $k$ such that $a(k)=1$. ...
2
votes
0
answers
138
views
Recursion for exponential reversion of an arbitrary sequence
Let $a(n)$ be an arbitrary integer sequence with exponential generating function $A(x)$ and $a(n)=0$ for $n<1$.
Let $T(n,k)$ be an integer coefficients with exponential generating function $\exp(tA(...
0
votes
0
answers
181
views
Conditions to exist the limit of convolution-like recurrence
Let $b_0,\,b_1,\,\ldots$ be some given sequence of numbers such that $b_0\neq0$ and $b_0+b_1+\ldots=1$.
Let $a_0,\,a_1,\,\ldots$ be some other sequence of numbers whose values are computed as
$$
a_0=1,...
10
votes
1
answer
604
views
How to prove the identity $\sum_{k=0}^\infty(22k^2-92k+11)\binom{4k}k/16^k=-5$?
I have found the hypergeometric identity
$$\sum_{k=0}^\infty(22k^2-92k+11)\frac{\binom{4k}k}{16^k}=-5. \tag{1}$$
As the series converges fast, one can easily check $(1)$ numerically by Mathematica.
...
2
votes
1
answer
212
views
Sequence that contains both A251573 and A251663
Let $a(n)$ be A001764. Here
$$
a(n) = \frac{1}{2n+1}\binom{3n}{n}.
$$
Also ordinary generating function is $A(x)$ such that
$$
A(x) = 1 + x(A(x))^3.
$$
Let $b(n)$ be A251663. Here
$$
b(n) = \sum\...
0
votes
0
answers
45
views
Algorithm for A193318 and related sequences
Let $a(n,q)$ be the family of integer sequences with ordinary generating functions $A_q(x)$ such that
$$
A_q(x) = \sum\limits_{n=0}^{\infty} x^n \prod\limits_{k=1}^{n} \frac{(1-(2q(k-1)+1)x)}{(1-(q(2k-...
1
vote
0
answers
60
views
Simple and fast algorithm for A245373 and related sequences
Let $a(n,q)$ be the family of integer sequences with ordinary generating functions $A_q(x)$ such that
$$
A_q(x) = \sum\limits_{n=0}^{\infty} \frac{x^n}{(1+x)^{n+1}(1-q(n+1)x)}, \\
A_q(x) = \sum\...
4
votes
2
answers
345
views
Special functions solving $x = a \exp(b \exp( c x))$
It's well-known (see e.g. the Wikipedia article) that the Lambert $W$ function can be used to solve equations of the form
$$x = a e^{b x}$$
by setting
$$x = - \frac{W(-ab)}{b}.$$
This follows from the ...
2
votes
0
answers
90
views
Proving the sign pattern in a sum involving partition counting functions
We have a function $\eta(s,n,m)$ that counts the number of nondecreasing (or nonincreasing) partitions of $s$ with at most $n$ parts, each of size at most $m$. The function can be defined by a ...
4
votes
0
answers
201
views
Proving binomial identities
Assume $n$ and $m$ are positive integers.
My eventual wish is in finding a $q$-analogue of the below identity but for now I wish to see alternative proofs. I can supply a justification using the Wilf-...
0
votes
1
answer
139
views
Sum of squares in family of q-polynomials
Let $[c]_q:=\frac{1-q^c}{1-q}=1+q+\cdots+q^{c-1}$ denote the $q$-analogue of the positive integer $c$. For a fixed $r\in\mathbb{N}$, let's write $\vec{c}:=(c_1,\dots,c_r)$ and
$\vec{n}:=(n_1,\cdots,...
4
votes
2
answers
197
views
What is the most efficient algorithm for computing $E[x_1 x_2 \cdots x_n]$ in a multivariate normal distribution?
I am working with a multivariate normal distribution $\mathbf{x} = [x_1, x_2, \ldots, x_n] \sim \mathcal{N}(\mathbf{\mu}, \mathbf{\Sigma})$, and I need to compute the expectation $E[x_1 x_2 \cdots x_n]...
10
votes
2
answers
580
views
Nonzero entire function such that $a_n=f(n)$
A friend of mine came out with this riddle: does there exist a nonzero entire function $f(x) = \sum_{k=0}^{+\infty} a_k x^k$ such that for all nonnegative integer $n$, $f(n)=a_n$?
I reformulated the ...
11
votes
3
answers
692
views
Full asymptotics near 1 of the generating function for integer partitions
Consider the generating function for integer partitions
$$
P(q)=\frac{1}{\prod_{k=1}^{\infty}(1-q^k)}=\sum_{n=0}^{\infty}
p(n)q^n\ ,
$$
where $p(n)$ is the number of integer partitions of $n$.
I am ...
0
votes
0
answers
92
views
Copy and repeat or copy and sum integer coefficients
Let
$$
\ell(n) = \left\lfloor\log_2 n\right\rfloor.
$$
Let $T(n,k)$ be an integer coefficients with row length $f(n)$ (number of zeros in the binary expansion of $n$ plus $2$ for $n>0$ with $f(0)=1$...
3
votes
0
answers
200
views
A closed formula for a sum involving hypergeometric functions
Can we find a closed formula for this sum:
$$\sum_{p,q\geq 0} (p+q+1)r^{p+q} \frac{{}_1F_1(1+p;2+p+q;r^2)}{{}_1F_1(1+p;2+p+q;1)}$$
where
$$_1F_1(a;c;z) = \sum_{n=0}^{\infty} \frac{(a)_n}{(c)_n n!} z^...
0
votes
1
answer
149
views
Formula for $P(d) = \sum_{\sum_{i=1}^m k_i = d, k_i \in \mathbb{N}_+} \left( \prod_{i=1}^m k_i^{a_i} \right) $
Let $\mathbb{N}_+ = \{ 1, 2, \dots\} $. For a given sequence of elements $\{a_i \}_{1 \leq i \leq m} $in $ \mathbb{N}_+ $, we define
\begin{equation}
P(d) = \sum_{\sum_{i=1}^m k_i = d, k_i \in \...