已知数列an的前n项和为Sn,且An=3^n+2n,则Sn等于