Questions tagged [recurrence-relations]

Questions regarding functions defined recursively, such as the Fibonacci sequence.

A recurrence relation is an equation that recursively defines a sequence or multidimensional array of values: once one or more initial terms are given, each further term of the sequence or array is defined as a function of the preceding terms.

Simple examples include the geometric sequence $a_{n}=r a_{n-1}$, which has the closed-form $a_{n}=r^n a_0$, the aforementioned Fibonacci sequence with initial conditions $f_0=0,f_1=1$ and recurrence $f_{n+2}=f_{n+1}+f_n$, and series: the sequence $S_n =\sum_{k=1}^{n} a_k$ can be written as $S_n= S_{n-1}+a_n$.

The term order is often used to describe the number of prior terms used to calculate the next one; for instance, the Fibonacci sequence is of order 2.

See the Wikipedia page for more information.

8985 questions
2
votes
2 answers

Find general solution

I want to find the general solution for the following : $$t(n)=t(\frac{n}{4})+\sqrt{n}+n^2+n^2log_{8}n $$ Note: $n=4^k$ $t(n)=t(4^k)=t_{k}$ $$t_{k}=t_{k-1}+2^k+16^k\cdot \frac{2}{3}k$$ $$\rho(x)=(x-1)(x-2)(x-16)^2$$ There is problem to find the…
user2976686
  • 185
  • 8
2
votes
2 answers

Non homogeneous Recurrence relation problem

So here i have this non homogeneous recurrence relation i need to solve: $$a_{n}=12a_{n-2}+16a_{n-3}+9\cdot 4^{n}+81n,$$ where $a_{0}=0$, $a_{1}=1$ $a_{2}=98$. I'm confused at the homogeneous relation part of this relation. What's the…
Doh
  • 21
2
votes
1 answer

How can I find a recursive relation for the following words?

if c(n) is the number of words created by the alphabet {a,b,c} with n length that the word does not contain 'ab' term then write a recursive relation for c(n). I don't have enough knowledge of the recursive relations but I have tried guessing the…
2
votes
2 answers

Find suitable recurrence relation

So I need to find a correct recurrence relation to this problem: How many series of size n over {0,1,2} exist, so that each digit never appears alone. For example, this series is good: 000110022, and this series is bad: 000122. I did find a correct…
Cauthon
  • 389
  • 3
  • 16
2
votes
3 answers

non-homogeneous recurrence relations

The question is: $a_{n}=12a_{n-2}+16a_{n-3}+9\cdot 4^{n}+81n$with $a_{0}=0 ,a_{1}=1 ,a_{2}=98$ I tried to deal with the particular solution first by: $A4^{n}+Bn=12[A4^{n-2}+B(n-2)]+16[A4^{n-3}+B(n-3)]+9\cdot 4^{n}+81n$. However, turns out the…
2
votes
1 answer

Solving a recurrence realtion using forward substitution.

I have to find $T(n) = 7 \cdot T\left(\frac{n}{7} \right)$ for $n>1$ when $n$ a power of $7$. So far I have: $$T(7) = 7\cdot T\left(\frac{7}{7}\right) = 7 \cdot T(1) = 7.$$ Then, $$T(49) = 49 \cdot T \left(\dfrac{49}{7} \right) = 49 \cdot T(7) =…
John
  • 21
2
votes
3 answers

solution of a recurrence

How might one solve the recurrence $x_{n+1} + x_n + 2^n = 0$ given the necessary initial conditions ($x_0$)? Possible ideas I have in mind: 1) Generating functions 2) Discrete Laplace Transforms Any other possible techniques?
Ayesha
  • 2,640
2
votes
1 answer

Recurrence relation converting to explicit formula

Let $a_n = -2a_{n-1 }+ 15a_{n-2 }$ with initial conditions $a_1 = 10 $ and $a_2 = 70$. a)Write the first 5 terms of the recurrence relation. b)Solve this recurrence relation. c)Using the explicit formula you found in part b, evaluate $a_5$. You must…
2
votes
1 answer

second-order difference equation

I have a second-order difference equation question. yn + 2 - 78yn = 23n^2 What is the value of root in auxiliary equation? I have tried searching for videos online but I don't really quite understand on how to solve it. Also, what does Y" and Y'…
user136154
  • 33
  • 5
2
votes
0 answers

Solution to a recursion relation.

Let $\beta >0 $. The question is to solve a following recursion: \begin{equation} P^{(j+2)}(\beta) = \frac{\imath}{2} \left[ \left((-1+\beta) j - 1\right) P^{(j+1)}(\beta) + \sum\limits_{j_1=1}^{j+1} P^{(j_1)}(\beta)…
Przemo
  • 11,331
2
votes
2 answers

A sequence in which $x_n$ depends on all of $x_0, ... x_{n-1}$

A particular combinatorial sequence I was looking at turned out to obey the following pair of recurrence relations: $$N_{2n+1}=\sum^n_{k=0}N_{2k}$$ $$N_{2n}=\left(\sum^{n-1}_{k=0}N_{2k+1}\right)+1=\sum^n_{k=0}N_{2k-1}$$ For the second form of the…
Jack M
  • 27,819
  • 7
  • 63
  • 129
2
votes
3 answers

Solve $t_{n}=t_{n-1}+t_{n-3}-t_{n-4}$?

I missed the lectures on how to solve this, and it's really kicking my butt. Could you help me out with solving this? Solve the following recurrence exactly. $$ t_n = \begin{cases} n, &\text{if } n=0,1,2,3, \\ t_{n-1}+t_{n-3}-t_{n-4},…
Lish
  • 195
2
votes
3 answers

Solving the recurrence relation $T(n) = (n+1)/n*T(n-1) + c(2n-1)/n, T(1) = 0$

I tried a lot of different methods. Not able to make out the series. Could anyone help me i this regard? $ T(n) = \frac{(n+1)}{n}T(n-1) + c\frac{(2n-1)}{n} , T(1) = 0 $
aditya
  • 21
2
votes
2 answers

Process of solving recurrence relations

I am having trouble understanding how to solve a recurrence relation. If you can please help walk me through this one: $T(n) = T(\dfrac{n}{2}) + 5$ Initial conditions $T(0) = 0$ and $T(1) = 1$ My teacher did not explain this very clearly and I'm…
Steve
  • 23
2
votes
2 answers

Determining Values

I have tried a couple of ways to get started / finish this problem but I cant seem to figure out how to fully explain and determine the value of $x_n$. I have posted my question below with figures to help explain. I know that recurrence-relation…
nowWeKnow
  • 23
  • 3