Senior high school series problems group transformation sum and formula method sum, seek detailed explanation Given the function f (x) = 2 ^ x-3x-1, the sum of the first n terms of an is SN ① Find the maximum value of n that makes an < 0; ② Find SN

Senior high school series problems group transformation sum and formula method sum, seek detailed explanation Given the function f (x) = 2 ^ x-3x-1, the sum of the first n terms of an is SN ① Find the maximum value of n that makes an < 0; ② Find SN

a(n)=2^n - 3n-1
s(n)=[2+2^2+...+2^n] - 3[1+2+...+n] - n = 2[2^n-1]/(2-1) -3n(n+1)/2 - n = 2^(n+1) -2-n - 3n(n+1)/2
0>a(n)=2^n-3n-1,
a(1)=2-3-1=2^4-3>0, a(n)>=a(4)>0.
Therefore, a (n)