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
0
votes
1 answer

Find a recurrence relation for $a_n$, the number of binary strings of length $n$, which have 3 consecutive 1's.

As the title states, I am tasked with finding finding a recurrence relation according to the specific constraints. I have a start to the problem, but I'm really having trouble identifying the pattern for the recurrence relation. My first step was to…
0
votes
1 answer

Can anyone solve this recurrence equation?

I would like to model compound interest where in each period part of the existing capital can be used to increase the annual interest rate. At first I tried to model this in a way such that in each step the optimal amount of capital would be used to…
0
votes
1 answer

Recurrence formality question

I have tried to solve this recurrence relation using induction. $$T(n) = T(\lfloor \log_2 n \rfloor) +1$$ It is clear that I should get something similar to $\log *n$, but I don't know how to formalize this kind of questions. Thank you for your kind…
ga as
  • 21
0
votes
1 answer

Non linear recurrence

Let $a_{n+1}=3a_{n}^2(1-a_{n})$ Where $a_0$ is any complex number For $f(x)=3x^2(1-x)$ I found fixed point $0,\frac{1}{2}(1\pm \frac{i}{\sqrt3})$ Setting $a_0$ equal to one fixed point we get $a_n$ constant for all $n$. Is it possible to find a…
Kamoulox
  • 41
  • 5
0
votes
1 answer

A recurrence on how to place brackets invert power series and more...

Find the explicit form for the recurrence: $$b_{n+1}=\sum_{i = 1}^{n}{a_i b_{n-i+1}}$$ in terms of $a_k ;1 \leq k \leq n,b_0,b_1$ $\textbf{This is a very special recurrence}$............... The case $a_j=b_j$ symbolises the number of ways to put…
MATHS MOD
  • 646
  • 6
  • 14
0
votes
2 answers

Solve double recursive sequence

I want to find a closed form of $a_i$ sequence below: $$a_i = \alpha a_{i-1} + \beta b_{i-1}$$ $$b_i = \gamma a_{i-1} + \delta b_{i-1}$$ I did some expansions and arrived to (assuming I have no errors) something that looks simpler: $$a_i = f(i) +…
Artium
  • 950
0
votes
1 answer

Solve this recursive relation

I have the following recursive relation ($k$ and $j$ natural numbers): $$ r_k = r_{k+1} + 2(k+1) $$ And for a specific $j$ $$r_j = 0$$ How can I find $r_{k,j}$? I know the solution, that is: $$r_{k,j} = j(j+1) - k(k+1)$$ I tried by handling the…
0
votes
1 answer

How to solve $T(n) = 2T(\lceil{\sqrt{n}\rceil}) + 1$

Consider the following recurrence relation: $$T(n) = 2T(\lceil{\sqrt{n}\rceil}) + 1 \text{ if } n >2$$ $$T(n) = n \text{ if } n \leq 2$$ I can see intuitively that $$T(n) = O(\log{n})$$ because there are $O(\log\log{n})$ levels to the recursion and…
user35671
0
votes
1 answer

Proving that a recurrence holds for all $n$

Let $H=\{2,3,4, \dots , n\}$. Find a recurrence relation that involves the following number: $\displaystyle \sum_{G\subseteq H}\frac{1}{\prod_{x\in G}}$, where $G\not = \{\}$ If $H=\{2\}$, let $S_2$ be the sum. If $H=\{2,3\}$ let $S_3$ be the sum,…
Wesley
  • 1,567
0
votes
1 answer

Solving for n = 4 in recurrence relation

I am going through 'Concrete Mathematics' by Knuth et al. There is a question that asks one to find the closed form for a recurrence relation defined as follows: $$ Q_{0} = \alpha; \\ Q_{1} = \beta; \\ Q_{n} = \frac{1+Q_{n-1}}{Q_{n-2}}, n > 1 $$ We…
0
votes
1 answer

how do I solve this recursive formula: T(1) = 1 and T(n - 1) + 3

Im not sure im doing this correctly but it seems that I am getting this T(1) = 1 T(2) = T(2-1) + 3 = T(1) + 3 = 1 + 3 T(3) = T(3-1) + 3 = T(2) + 3 = 1 + 3 + 3 T(4) = T(4-1) + 3 = T(3) + 3 = 1 + 3 + 3 + 3 How do I solve this?
0
votes
0 answers

5-term to 3-term recurrence relation

I have a 5-term recurrence relation of the form: $$\alpha_n a_{n-3} + \beta_n a_{n-2} + \gamma_n a_{n-1} + \delta_n a_{n} + \rho_n a_{n+1} =0 .$$ How can I rewrite this, as a 3-term recurrence relation? i.e. how to rewrite in the…
0
votes
2 answers

Simplify recurrence relation made of 3 series

Whats the best way to approach simplifying these three dependent relations: $a_n = b_n + 2c_n$ $b_n = 2c_{n-1} $ $c_n = 2c_{n-1} + 2b_{n-1}$ (where $a_1=5, a_2=16$) I tried to plug $b_n$ to $c_n$, and then simplifying $a_n$, but got stuck in the…
BBLN
  • 169
0
votes
1 answer

Solve the recurrence $T(n) = 2T(n - 1) + n - 1$ by iteration

Could anyone show how to solve the recurrence $T(n) = 2T(n-1)+n-1$ with the initial condition $T(1) = 0$ by iteration? I've written out a couple levels of the recurrence in an attempt to see some sort of useful pattern, but I'm lost on this one. …
an0n1234
  • 5
  • 1
0
votes
0 answers

Recurrence Relation help me

please, someone, solve this recurrence relation $$T(n)=T(n-1)+2n+3T(n-3)$$ if $$(T0=1,T1=2,T2=3)$$