当前位置:网站首页>[combinatorics] generating function (shift property)
[combinatorics] generating function (shift property)
2022-07-03 17:46:00 【Programmer community】
List of articles
- One 、 Shift property of generating function 1 ( To shift backward )
- Two 、 Shift property of generating function 2 ( Forward shift )
Reference blog :
- 【 Combinatorial mathematics 】 Generating function Brief introduction ( Generating function definition | Newton's binomial coefficient | Common generating functions | Related to constants | Related to binomial coefficient | Related to polynomial coefficients )
- 【 Combinatorial mathematics 】 Generating function ( Linear properties | Product properties )
One 、 Shift property of generating function 1 ( To shift backward )
Shift property of generating function 1 ( To shift backward ) :
b
(
n
)
=
{
0
,
n
<
l
a
n
−
l
,
n
≥
l
b(n) = \begin{cases} 0, & n < l \\\\ a_{n-l}, & n \geq l \end{cases}
b(n)=⎩⎪⎨⎪⎧0,an−l,n<ln≥l , be
B
(
x
)
=
x
l
A
(
x
)
B(x) = x^l A(x)
B(x)=xlA(x)
from Known sequence
a
n
a_n
an Of Generating function
A
(
x
)
A(x)
A(x) , seek Another series
b
n
b_n
bn Of Generating function
B
(
x
)
B(x)
B(x) ;
Known sequence
a
n
=
{
a
0
,
a
1
,
⋯
,
a
n
,
⋯
}
a_n = \{a_0, a_1 , \cdots , a_n , \cdots\}
an={ a0,a1,⋯,an,⋯} , The generating function is
A
(
x
)
A(x)
A(x) ;
The sequence
b
n
b_n
bn And
a
n
a_n
an The relationship is ,
b
n
b_n
bn stay
a
n
a_n
an Added in front of
l
l
l individual
0
0
0 ;
The sequence
a
n
a_n
an :
a
0
,
a
1
,
⋯
,
a
n
,
⋯
\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ a_0, a_1 , \cdots , a_n , \cdots
a0,a1,⋯,an,⋯
The sequence
b
n
b_n
bn :
0
,
0
,
⋯
,
0
⏟
l
individual
0
,
\begin{matrix} \underbrace{ 0, 0, \cdots , 0 } \\ l individual 0 \end{matrix} ,
0,0,⋯,0l individual 0,
a
0
,
a
1
,
⋯
,
a
n
,
⋯
a_0, a_1 , \cdots , a_n , \cdots
a0,a1,⋯,an,⋯
The sequence
b
n
b_n
bn The generating function of , front
l
l
l The coefficients of the terms are
0
0
0 , So you can omit ,
- The first
l
l
B
(
x
)
B(x)
B(x) The generating function item of is
a
0
x
l
a_0x^l
a0xl , Corresponding
A
(
x
)
A(x)
A(x) The generating function item in is
a
0
a_0
a0
l term ,
- The first
l
+
1
l+1
B
(
x
)
B(x)
B(x) The generating function item of is
a
1
x
l
+
1
a_1x^{l+1}
a1xl+1 , Corresponding
A
(
x
)
A(x)
A(x) The generating function item in is
a
1
x
a_1x
a1x
l+1 term ,
B
(
x
)
B(x)
B(x) Generating function Each of them is just The sequence
a
n
a_n
an Of Generating function
A
(
x
)
A(x)
A(x) Each On the basis of , multiply
x
l
x^l
xl that will do ;
Two 、 Shift property of generating function 2 ( Forward shift )
Shift property of generating function 2 ( Forward shift ) :
b
n
=
a
n
+
1
b_n = a_{n+1}
bn=an+1 , be
B
(
x
)
=
A
(
x
)
−
∑
n
=
0
l
−
1
a
n
x
n
x
l
B(x) = \cfrac{A(x) - \sum\limits_{n=0}^{l-1} a_nx^n }{x^l}
B(x)=xlA(x)−n=0∑l−1anxn
from Known sequence
a
n
a_n
an Of Generating function
A
(
x
)
A(x)
A(x) , seek Another series
b
n
b_n
bn Of Generating function
B
(
x
)
B(x)
B(x) ;
Known sequence
a
n
=
{
a
0
,
a
1
,
⋯
,
a
n
,
⋯
}
a_n = \{a_0, a_1 , \cdots , a_n , \cdots\}
an={ a0,a1,⋯,an,⋯} , The generating function is
A
(
x
)
A(x)
A(x) ;
The sequence
b
n
b_n
bn And
a
n
a_n
an The relationship is ,
b
n
b_n
bn stay
a
n
a_n
an It moves backwards on the basis of
l
l
l position ,
b
0
b_0
b0 And
a
l
a_l
al Same value ,
b
1
b_1
b1 And
a
l
+
1
a_{l+1}
al+1 Same value ;
\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \,
The sequence
a
n
a_n
an :
a
0
,
a
1
,
⋯
,
a
l
,
a
l
+
1
⋯
a_0, a_1 , \cdots , a_l , a_{l+1} \cdots
a0,a1,⋯,al,al+1⋯
The sequence
b
n
b_n
bn :
b
0
,
b
1
,
⋯
\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ b_0 , b_1 , \cdots
b0,b1,⋯
according to
A
(
x
)
A(x)
A(x) seek
B
(
x
)
B(x)
B(x) :
stay
A
(
x
)
A(x)
A(x) On the basis of , Before subtraction
l
l
l term , namely from
0
0
0 To
l
−
1
l-1
l−1 term ,
a
0
,
a
1
x
,
a
2
x
2
,
⋯
a
l
−
1
x
l
−
1
a_0 , a_1x , a_2x^2 , \cdots a_{l-1}x^{l-1}
a0,a1x,a2x2,⋯al−1xl−1 , So there is
A
(
x
)
−
∑
n
=
0
l
−
1
a
n
x
n
A(x) - \sum\limits_{n=0}^{l-1} a_nx^n
A(x)−n=0∑l−1anxn ;
A
(
x
)
A(x)
A(x) Generating function Of Remaining items , Each item is better than
B
(
x
)
B(x)
B(x) many
x
l
x^l
xl times , Divide
x
l
x^l
xl that will do ;
In the above
A
(
x
)
−
∑
n
=
0
l
−
1
a
n
x
n
A(x) - \sum\limits_{n=0}^{l-1} a_nx^n
A(x)−n=0∑l−1anxn On the basis of , Divide
x
l
x^l
xl , obtain
B
(
x
)
=
A
(
x
)
−
∑
n
=
0
l
−
1
a
n
x
n
x
l
B(x) = \cfrac{A(x) - \sum\limits_{n=0}^{l-1} a_nx^n }{x^l}
B(x)=xlA(x)−n=0∑l−1anxn ;
边栏推荐
- ArrayList分析3 : 删除元素
- IntelliJ 2021.3 short command line when running applications
- TensorBoard快速入门(Pytorch使用TensorBoard)
- The difference between get and post
- AcWing 3438. Number system conversion
- MySQL grouping query
- POM in idea XML graying solution
- 1146_ SiCp learning notes_ exponentiation
- 毕业总结
- [combinatorics] recursive equation (special solution example 1 Hannover tower complete solution process | special solution example 2 special solution processing when the characteristic root is 1)
猜你喜欢

Golang单元测试、Mock测试以及基准测试

Records of long objects and long judgments in the stream of list

【RT-Thread】nxp rt10xx 设备驱动框架之--rtc搭建和使用

Golang unit test, mock test and benchmark test

1146_ SiCp learning notes_ exponentiation

SQL injection database operation foundation

1164 Good in C

Analysis report on production and marketing demand and investment forecast of China's PVC industry from 2021 to 2026
![Luogu: p2685 [tjoi2012] Bridge](/img/f5/f77027288a211ae466781b09ce650f.jpg)
Luogu: p2685 [tjoi2012] Bridge

Introduction to SolidWorks gear design software tool geartrax
随机推荐
The difference between i++ and ++i: tell their differences easily
Kubernetes resource object introduction and common commands (4)
Kubernetes resource object introduction and common commands (III)
[RT thread] NXP rt10xx device driver framework -- RTC construction and use
Online assignment 3 of mobile Internet technology in the 20th autumn of electronic technology [standard answer]
Graduation summary
聊聊支付流程的设计与实现逻辑
Analyse ArrayList 3: suppression d'éléments
Financial management (Higher Vocational College) financial management online Assignment 1 in autumn 20
Research Report on competitive strategy Outlook Analysis and investment strategic planning of China's smart home equipment industry, 2022-2028
The difference between get and post
Where is the monitoring page of RDS database?
Research Report on investment trends and development planning of China's thermal insulation material industry, 2022-2028
List of financial products in 2022
Kubernetes resource object introduction and common commands (V) - (NFS & PV & PVC)
Assignment examination questions of advanced English (III) for the course examination of Fujian Normal University in February 2022
Market demand survey and marketing strategy analysis report of global and Chinese pet milk substitutes 2022-2028
AcWing 3438. Number system conversion
Global and Chinese health care OEM and ODM market status survey and investment planning recommendations report 2022-2028
面试官:值为 nil 为什么不等于 nil ?