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

recurrence function $T(n) = 27T(\frac{n}{3}) + 27^4\log(n)$

Considering the recurrence function: $$\mathrm{T}(n) = 27\cdot\mathrm{T}(\frac{n}{3}) + 27^4\cdot\log(n)$$ Can this question be solved using the Master Theorem? If yes, how?
Tiffany
  • 103
2
votes
2 answers

$s_n=s_{n-1}+(n-1)s_{n-2}$ prove $s_n>\sqrt{n!n}$ for $n\ge4$

Define sequece as follows: $s_1=1,~s_2=2, s_n=s_{n-1}+(n-1)s_{n-2}$. I want to prove that $s_n>\sqrt{n!n}$ for $n\ge4$. I'd tried to use traditional induction on $n$, but it involves both two terms that are in front of the current term. Should I use…
Eric
  • 4,517
  • 1
  • 18
  • 36
2
votes
1 answer

Upper bound the recurrence $f(n+1)=f(n)\left( 1-\frac{f(n)}{1-f(n)} \right)$

I need to upper bound the following recurrence $$f(n+1)=f(n)\times\left( 1-\frac{f(n)}{1-f(n)} \right), f(1)<\frac{1}{4} $$ Question I would like a strictly decreasing function $g(n)$ such that $f(n) < g(n)$. I know that $0
2
votes
3 answers

Solve the recurrence $y_{n+1} = 2y_n + n$ for $n\ge 0$

So I have been assigned this problem for my discrete math class and am getting nowhere. The book for the class doesn't really have anything on recurrences and the examples given in class are not helpful at all. I seem to be going in circles with the…
2
votes
1 answer

Solving recurrence relation $a_n=3a_{n-1}-2a_{n-2}+2^n$

I need to solve the following recurrence relation: $a_n=3a_{n-1}-2a_{n-2}+2^n$ For the homonogenous part, it's quite simple and I get: $a_n^h=\lambda_1+\lambda_22^n$ The nonhomonogenous part is where I get lost. Since one of the solutions from the…
2
votes
2 answers

How does recurrence relation works with system of equations?

There are $$ a+b+c+d = 2\\2a+2^2b+2^3c+2^4d = 5\\ 3a+3^2b+3^3c+3^4d = 6\\4a+4^2b+4^3c+4^4d = 1$$ then I'm given $$C_{n}= a+bn+cn^2+dn^3$$ from linear recurrence relation with repeated roots said that $$(x-1)^4 =…
ABCDEFG user157844
  • 1,091
  • 7
  • 12
2
votes
1 answer

homogenous linear recurrence relation - need help with understanding the solution

I apologize if this question is far too obvious, but I'm a bit confused (and new to this subject). I have to solve the recurrence relation: $a_n=6a_{n-1}-9a_{n-2}$ $n=2,3,..$ Using Euler substitution, I get $x^2-6x-9=0$ Solving this equation gives…
frostpad
  • 235
2
votes
1 answer

Recurring Equations Question

For the recurring function $R_n(x)=ax_i+b$, where $x_i$ is the initial number $n$ is the nth iteration $R_n$ is the function value of the nth iteration, $a$ and $b$ are adjustment values. I've derived the formula that allows us to find the value of…
2
votes
0 answers

Solving a recurrence relation $x_{n+1}^2 =2 + x_n$?

How to show rigorously that the recurrence relation $x_{n+1}^2 =2 + x_{n}$, the limit tends to $2$ and can we get a closed form of sequence $x_{n}$ depending on $n$? with $x_{0}=2$. I was tryin to observe $|x_{n+1} -x_{n}| = |\sqrt{2+x_{n}} - x_{n}|…
BAYMAX
  • 4,972
2
votes
2 answers

Solving recurrences $T(n) = 4 T(2n/3) + (n^3 )\cdot \log(n)$

I have a recurrence: $T(n) = 4 \cdot T\left(\frac{2n}{3}\right) + (n^3 )\cdot \log(n)$ how can this case be solved from master theorem as this is not in the general form of $T(n) = aT(⌈n/b⌉) + O(nd)$
csnoob
  • 55
2
votes
2 answers

Please help us to find the general solution of this recurrence: $x_{n+1}=5^{n-1} x_n+3^n$

Please help us to find the general solution of this recurrence: $$x_{n+1}=5^{n-1} x_n+3^n.$$ We found the solution for the associated homogeneous recurrence $x_{n+1}=5^{n-1} x_n$ which is $$x_n = 5^{(n-1)(n-2)/2}x_1,$$ and we tried to use it to…
user46600
  • 41
  • 1
2
votes
1 answer

Solving recurrence relation involving reciprocal $\frac1{r(n)}=P(n)+r(n-1)$

Is there any general method to solve for $r(n)$ with the recurrence relation $$\frac1{r(n)}=P(n)+r(n-1)$$ where $P(n)$ is a polynomial of $n$? My current direction is to convert the problem into a differential equation problem, however traditional…
Szeto
  • 11,159
2
votes
3 answers

Show that $u_{n+1}=6u_n-4u_{n-1}$ if $u_n=(3+\sqrt{5})^n+(3-\sqrt{5})^n$ for $n=1,2,...$

I have already shown that for each $n,u_n$ is an integer. Now we can show that $u_n=\dfrac{1}{2^n}(\sqrt{5}+1)^{2n}+\dfrac{2^{3n}}{(\sqrt{5}+1)^{2n}}$ But the problem is while showing $u_{n+1}=6u_n-4u_{n-1}$ , I can see that the whole calculation is…
Saradamani
  • 1,579
2
votes
1 answer

Solving a Non-homogeneous Linear Recurrence Relation - how to solve the non-homogeneous component

$ a_{n} = a_{n-1} + 8a_{n-2} - 12a_{n-3} + 25(-3)^{n-2} + 32n^{2} - 64n$ for n $\geq 3$ edit: I forgot to add the initial conditions, they are $a_0 = 130, a_1 = 215, a_2 = 260$ I have been given the above non-homogeneous linear recurrence relation,…
anunez
  • 63
2
votes
1 answer

Is it possible for a recurrence relation to not have a solution?

because I am trying to find the answer in wolfarmalpa but it show " no solution exist" ! $$a_{n}=a^{3}_{n-1}a^{2}_{n-2} ,\ a_{0}=2 , a_{1}=2a$$ I wrote it like $a(n)=a(n-1)^3*a(n-2)^2,a(0)=2,a(1)=2$ and …
NANA
  • 87