求数列12,26,64,...,2(3^n + n +2),...的前n项和