Given a0=1a_0 = 1a0=1, and ak=3ak−1+4k−1a_k=3a_{k-1}+4^{k-1}ak=3ak−1+4k−1 .
So, a1=3a0+40=3+1=4a_1 = 3a_0 + 4^0 = 3 + 1 = 4a1=3a0+40=3+1=4
a2=3a1+41=12+4=16a3=3a2+42=48+16=64a4=3a3+43=192+64=256a_2 = 3a_1 + 4^1 = 12+4 = 16 \\ a_3 = 3a_2 + 4^2 = 48 + 16 = 64 \\ a_4 = 3a_3+4^3 = 192+64 = 256a2=3a1+41=12+4=16a3=3a2+42=48+16=64a4=3a3+43=192+64=256 and so on.
Hence the given series is 1,4,16,64,2561, 4 , 16 , 64, 2561,4,16,64,256 , _ _ _ _.
Hence, the generating function is an=4na_n = 4^{n}an=4n .
Need a fast expert's response?
and get a quick answer at the best price
for any assignment or question with DETAILED EXPLANATIONS!
Comments