gpt-3.5-turbo-0301· OpenAI
WildChat-4.8M (AI2)
Soit $(sn)$ la suite généree par la séerie $S(x)=\sum{n\geq 0} snx^n$ avec…
- User
Soit la suite généree par la séerie avec Quel système de réecurrence vérifie les ?
- Assistant
On commence par factoriser le dénominateur de :
S(x)&=\frac{1}{1-4x-3x^2-2x^3+7x^5}\\ &=\frac{1}{(1-x)(1-3x)(1+2x)(1-7x^2)}. \end{aligned}$$ On écrit ensuite $S(x)$ comme une somme de fractions simples: $$S(x)=\frac{A}{1-x}+\frac{B}{1-3x}+\frac{C}{1+2x}+\frac{D}{1-7x^2}.$$ En multipliant par les dénominateurs, on obtient l'égalité suivante: $$\begin{aligned} 1&=A(1-3x)(1+2x)(1-7x^2)+B(1-x)(1+2x)(1-7x^2)\\ &\ +C(1-x)(1-3x)(1-7x^2)+D(1-x)(1-3x)(1+2x). \end{aligned}$$ On peut résoudre ce système en cherchant à annuler les termes en $x^k$ pour tout $k$: $$\begin{aligned} k=0:&\quad 1=A\cdot 1\cdot 1\cdot 1+B\cdot 1\cdot 1\cdot 1+C\cdot 1\cdot 1\cdot 1+D\cdot 1\cdot 1\cdot 1 \\ &\Longrightarrow A+B+C+D=1\\ k=1:&\quad 0=A(1\cdot 2\cdot 0)+B(-1\cdot 2\cdot 0)+C(-1\cdot 3\cdot 0)+D(-1\cdot 3\cdot 2) \\ &\Longrightarrow -6D=0\quad\Rightarrow D=0\\ k=2:&\quad 0=A(1\cdot 2\cdot (-7))+B(-1\cdot 2\cdot (-7))+C(-1\cdot 3\cdot (-7))+D(-1\cdot 3\cdot 0) \\ &\Longrightarrow 14A+14B+21C=0\quad\Rightarrow 2A+2B+3C=0\\ k=3:&\quad 0=A(1\cdot (-2))+B(-1\cdot 0)+C(-1\cdot (-7))+D(-1\cdot 0) \\ &\Longrightarrow -2A+7C=0\quad\Rightarrow A=\frac{7}{2}C\\ k=4:&\quad 0=A\cdot 0+B\cdot 1\cdot 2\cdot (-7)+C\cdot (-1)\cdot (-3)\cdot 0+D\cdot (-1)\cdot 1\cdot 0 \\ &\Longrightarrow -14B=0\quad\Rightarrow B=0\\ \end{aligned}$$ Finalement, on obtient $A=\frac{7}{63}$, $B=0$, $C=-\frac{3}{14}$ et $D=0$. On peut donc écrire $S(x)$ sous la forme $$S(x)=\frac{7}{63}\cdot\frac{1}{1-x}-\frac{3}{14}\cdot\frac{1}{1+2x}.$$ On en déduit que la suite $(s_n)$ vérifie le système de récurrence $$\begin{aligned} s_0&=\frac{7}{63}\\ s_n&=3s_{n-1}-2s_{n-2}-7s_{n-5}\quad\text{pour $n\geq 1$}. \end{aligned}$$