设等差数列{an}的前n项和为sn,若sm-1=-2,sm=0,sm+1=3,则m=