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
-3
votes
2 answers

A recurrence relation problem involving intersecting circles?

Respected Sir, Please give a complete information about the following one: Find a recurrence relation for the number of regions created by 'n' mutually intersecting circles on a piece of paper (no three circles have a common intersecting point). if…
MahimA
  • 193
-3
votes
1 answer

Solving $a_n = 5a_{n-1} + 6a_{n-2}$

Translation: Find a closed form solution to the recurrence relation $ a_n = 5a_{n-1} + 6a_{n-2}$ with $a_1 = 1$ and $a_2 = 2$. Original: Determine a forma fechada da relação de recorrência com primeiro e segundo termos, respectivamente 1 e 2 , e…
Ozk
  • 9
-3
votes
1 answer

recurrence relation and sigma notation

Can anyone help me and explain with sigma notation rules how does this equation solved The problem for me that $T(i)$ and $T(i-1)$ are inside sigma notation(not i) so i am confused. Please anyone show me how is it calculated ? enter image…
rama
  • 1
-3
votes
1 answer

How to solve recurrence relation using matrices?

How to solve these kind of recurrence relations using matrices: $$A_{n+1} = \sqrt 2 (A_n + B_n) - \sqrt 3 (A_n - B_n)$$ $$B_{n+1} = \sqrt 2 (A_n - B_n) + \sqrt 3 (A_n + B_n)$$ with initial $A_0$ and $B_0$ given. I want a general idea about how…
-4
votes
1 answer

Closed form expression for the following sequence

I have come across a sequence and am wondering if anyone knows of a closed form expression for it. I am a bit too lazy to figure it out on my own seeing as it is such a minor part of what I am doing. Any help would be greatly appreciated. The…
JmsNxn
  • 525
-4
votes
1 answer

recurrence relations

I have seen the following problem in my regular study, which I am not able to solve. Please solve it for me. Let $C_0,..., C_{k-1}$ be fixed integers and consider the recurrence relation of order $k$, $X_{n+k} = C_{k-1} X_{n+k-1} + C_{k-2} X_{n+k-2}…
MahimA
  • 193
-5
votes
1 answer

Recursive definitions - cannot figure this one out

I need to find a recursive solution to the below problem. $$a_n=n(n-1)$$ for $n \in \mathbb{N}$ Calculating some values gives \begin{align*} a_1&= 1\cdot (0)=0\\ a_2&= 2\cdot (2-1)=2\\ a_3&= 3\cdot(3-1)=6\\ a_4&= 4\cdot (4-1)=12\\ a_5&=…
1 2 3
96
97