in Mathematical Logic
2,160 views
0 votes
0 votes

Which recurrence relation satisfy the sequence: 2, 3, 4, . . ., for ≥ 1.

A ) T(N) = 2 T(N-1) - T(N-2)

   

B)T(N) = T(N-1) + T(N-2)

C)T(N) = N+1

D)

None of these

in Mathematical Logic
2.2k views

4 Comments

 rajoramanoj  we have to find recurrence relation ( which calls itself) not solution of this recurrence relation.

that 's why c i wrong.

0
0
@akb1115

A) is correct.

take base condition as T(0)=1 and T(-1)=0

T(1) = 2T(0) - T(-1) = 2

T(2) = 2T(1) - T(0) = 3.......and so on.
1
1
There should be a base condition like T(1)= …. Or T(0)=….. ,
0
0

1 Answer

0 votes
0 votes
Since it is given that n>=1, we cannot assume T(0) or T(-1) just take base conditions as T(1)=2 and T(2)=3 then option A is correct.
Quick search syntax
tags tag:apple
author user:martin
title title:apple
content content:apple
exclude -tag:apple
force match +apple
views views:100
score score:10
answers answers:2
is accepted isaccepted:true
is closed isclosed:true