The correct option is B (3k+1−1)2
T(2k)=3T(2k−1)+1
Let, T(2k)=Xn
⇒Xn=3Xn−1+1
⇒Xn=3Xn−1=1
So for Homogenous solution
Xn−3Xn−1=0
n - 3 =0
n = 3
Homogenous solution is
Xn=C1(3)n
T(2k)=C1(3)n
For Particular solution
Let d be the particular solution
d - 3d = 1
2d = -1
d=−12
Therefore, the complete solution is
T(2k)=C1(3)k−12
Given , T(1) = 1
1=C1(3)0−12
1=C1−12
C1=32
So the complete solution is
T(2k)=32(3)k−12
T(2k)=3k+1−12