It is known that the sum of the first n terms of the sequence an is Sn, and an + 2Sn = 4N (n ∈ n +). 1) to find the general term formula 2 of the sequence an It is known that the sum of the first n terms of an is Sn, and an + 2Sn = 4N (n ∈ n +) 1) The general term formula of the sequence an 2) If BN = Nan, find the first n terms of BN and TN

It is known that the sum of the first n terms of the sequence an is Sn, and an + 2Sn = 4N (n ∈ n +). 1) to find the general term formula 2 of the sequence an It is known that the sum of the first n terms of an is Sn, and an + 2Sn = 4N (n ∈ n +) 1) The general term formula of the sequence an 2) If BN = Nan, find the first n terms of BN and TN

(1)
an +2Sn= 4n
n=1 ,a1= 4/3
2Sn = 4n - an (1)
2S(n-1) = 4(n-1) - a(n-1) (2)
(1)-(2)
2an = 4 - an + a(n-1)
3an= a(n-1) + 4
3(an-2) = a(n-1) -2
an - 2 = (1/3) [ a(n-1) -2 ]
{an - 2} is an equal ratio sequence, q = 1 / 3
an - 2 = (1/3)^(n-1) .(a1 - 2)
= -2(1/3)^n
an = 2-2(1/3)^n
(2)
bn = nan
= 2n - 2n(1/3)^n
Tn = b1+b2+...+bn
= n(n+1) - 2[∑(i:1->n) i.(1/3)^i ]
let
S = 1.(1/3)^1 + 2.(1/3)^2+...+n.(1/3)^n (1)
(1/3)S = 1.(1/3)^2 + 2.(1/3)^3+...+n.(1/3)^(n+1) (2)
(1)-(2)
(2/3)S = [1/3^1 + 1/3^2+...+1/3^n] - n(1/3)^(n+1)
= (1/2)(1-1/3^n) -n(1/3)^(n+1)
S = (3/2) [(1/2)(1-1/3^n) -n(1/3)^(n+1)]
Tn = n(n+1) - 2S
= n(n+1) - 3[(1/2)(1-1/3^n) -n(1/3)^(n+1)]