已知数列AN的前N项和SN,SN=2N^2+3n+2,求an