Consider the given function:
5+7+13+31+85+......
DiffrenceoftermsisinG.P
=2,6,18......
Sn=5+3+13+31+85+......+Tn(1)
Sn=5+7+13+31+......Tn(2)
sothan(1)−(2)
Tn=5+2+6+18+......+(Tn−Tn−1)
Tn=5+2(3n−1−13−1)
Tn=5+(3n−1−1)
Tn=4+3n−1
Sn=n∑k=1Tk=n∑k=14+3k−1
Sn=n∑k=14+n∑k=13k−1
=(4+4+......ntime)+(1+3+32+......3n−1nterms
Sn=4n+1.(3n−1)3−1
Sn=4n+3n−12
Sn=12(3n+8n−1)
Hence this is the answer.