设数列{an},a1=5/6,若以a1,a2,...,an为系数的二次方程an-1X2-anX+1=0(n>=2)都有根a,b满足3a-ab+3b=1.
1.求证:{an-1/2}为等比数列;
2.求an;
3.求{an}的 前n项和Sn.