MHB A Formula for $a_n$: $c_n + d_n$

  • Thread starter Thread starter anemone
  • Start date Start date
  • Tags Tags
    Formula
AI Thread Summary
The discussion revolves around finding a formula for the sequence defined by the recurrence relation a_n = (n+4)a_{n-1} - 4na_{n-2} + (4n-8)a_{n-3}, with initial conditions a_0=2, a_1=3, and a_2=6. Participants are tasked with proving that a_n can be expressed as the sum of two well-known sequences, c_n and d_n. One user acknowledges another's correct answer despite a lack of proof, granting full marks due to their consistent engagement with the forum. The conversation highlights the appreciation for well-articulated solutions and encourages further participation. Overall, the thread emphasizes collaborative problem-solving in mathematical sequences.
anemone
Gold Member
MHB
POTW Director
Messages
3,851
Reaction score
115
Let $a_0=2$, $a_1=3$, $a_2=6$, and for $n \ge 3$, $a_n=(n+4)a_{n-1}-4na_{n-2}+(4n-8)a_{n-3}$.

The first few terms are $2,\;\;3,\;\;6,\;\;14, \;\;40, \;\;152, \;\;784, \;\;5168,\;\; 40576, \;\;363392$.

Find with proof a formula for $a_n$ of the form $a_n=c_n+d_n$, where $c_n$ and $d_n$ are well-known sequences.
 
Last edited:
Mathematics news on Phys.org
anemone said:
Let $a_0=2$, $a_1=3$, $a_2=6$, and for $n \ge 3$, $a_n=(n+4)a_{n-1}-4na_{n-2}+(4n-8)a_{n-3}$.

The first few terms are $2,\;\;3,\;\;6,\;\;14, \;\;40, \;\;152, \;\;784, \;\;5168,\;\; 40576, \;\;363392$.

Find with proof a formula for $a_n$ of the form $a_n=c_n+d_n$, where $c_n$ and $d_n$ are well-known sequences.

Hello.

I guessed the sequences, because I have not been able to prove it.I thought that it could be a factor involved, and, then, by differences I found with another string.:o

a_n=2^n+n!

Regards.
 
Here is my solution:

Let's rewrite the recurrence as:

$$a_{n}-na_{n-1}=4\left(a_{n-1}-(n-1)a_{n-2} \right)-4\left(a_{n-2}-(n-2)a_{n-3} \right)$$

Now, if we define:

$$b_{n}=a_{n}-na_{n-1}$$

We may write the original recursion as:

$$b_{n}=4b_{n-1}-4b_{n-2}$$

This is a linear homogenous recursion with the repeated characteristic root $r=2$. Hence the closed form for $b_n$ is:

$$b_{n}=(A+Bn)2^n$$

Using the given initial values, we find:

$$b_1=a_1-a_0=3-2=1=(A+B)2$$

$$b_2=a_2-2a_1=6-6=0=(A+2B)4$$

From this 2X2 linear system, we find:

$$A=1,\,B=-\frac{1}{2}$$

Hence:

$$b_{n}=2^n-n2^{n-1}=a_{n}-na_{n-1}$$

Now, we may arrange this as:

$$a_{n}-2^{n}=n\left(a_{n-1}-2^{n-1} \right)$$

This implies one solution is $$c_n=2^n$$

If we define:

$$d_n=a_{n}-2^{n}$$

we then have:

$$d_{n}=nd_{n-1}\implies d_n=Cn!$$

And so by superposition we have the general form:

$$a_n=2^n+Cn!$$

Using the initial value we obtain:

$$a_0=2=2^0+C0!=1+C\implies C=1$$

Hence:

$$a_n=2^n+n!$$
 
mente oscura said:
Hello.

I guessed the sequences, because I have not been able to prove it.I thought that it could be a factor involved, and, then, by differences I found with another string.:o

a_n=2^n+n!

Regards.

Well, even though you didn't provide any proof, your answer is correct and since you've been actively engaged with our site for quite some time and solving many challenge problems in the Challenge Questions and Puzzles sub-forum, I would give allowance to you and hence I would declare it here that you got full mark for that!:o

Thanks for participating, mente!

MarkFL said:
Here is my solution:

Let's rewrite the recurrence as:

$$a_{n}-na_{n-1}=4\left(a_{n-1}-(n-1)a_{n-2} \right)-4\left(a_{n-2}-(n-2)a_{n-3} \right)$$

Now, if we define:

$$b_{n}=a_{n}-na_{n-1}$$

We may write the original recursion as:

$$b_{n}=4b_{n-1}-4b_{n-2}$$

This is a linear homogenous recursion with the repeated characteristic root $r=2$. Hence the closed form for $b_n$ is:

$$b_{n}=(A+Bn)2^n$$

Using the given initial values, we find:

$$b_1=a_1-a_0=3-2=1=(A+B)2$$

$$b_2=a_2-2a_1=6-6=0=(A+2B)4$$

From this 2X2 linear system, we find:

$$A=1,\,B=-\frac{1}{2}$$

Hence:

$$b_{n}=2^n-n2^{n-1}=a_{n}-na_{n-1}$$

Now, we may arrange this as:

$$a_{n}-2^{n}=n\left(a_{n-1}-2^{n-1} \right)$$

This implies one solution is $$c_n=2^n$$

If we define:

$$d_n=a_{n}-2^{n}$$

we then have:

$$d_{n}=nd_{n-1}\implies d_n=Cn!$$

And so by superposition we have the general form:

$$a_n=2^n+Cn!$$

Using the initial value we obtain:

$$a_0=2=2^0+C0!=1+C\implies C=1$$

Hence:

$$a_n=2^n+n!$$

Well done, MarkFL! I just love to read your solution posts because they are always so nicely written and well explained! Bravo, my sweetest global moderator!(Sun)
 
Insights auto threads is broken atm, so I'm manually creating these for new Insight articles. In Dirac’s Principles of Quantum Mechanics published in 1930 he introduced a “convenient notation” he referred to as a “delta function” which he treated as a continuum analog to the discrete Kronecker delta. The Kronecker delta is simply the indexed components of the identity operator in matrix algebra Source: https://www.physicsforums.com/insights/what-exactly-is-diracs-delta-function/ by...
Suppose ,instead of the usual x,y coordinate system with an I basis vector along the x -axis and a corresponding j basis vector along the y-axis we instead have a different pair of basis vectors ,call them e and f along their respective axes. I have seen that this is an important subject in maths My question is what physical applications does such a model apply to? I am asking here because I have devoted quite a lot of time in the past to understanding convectors and the dual...

Similar threads

Back
Top