Sn=1/8*(an+2)^2
Sn+1=1/8*(an+1+2)^2
Sn+1-Sn=1/8*[(an+1^2+4an+1)-(an^2+4an)]
8an+1=(an+1^2+4an+1)-(an^2+4an)
(an+1^2-4an+1+4)-(an^2+4an+4)=0
(an+1-2)^2-(an+2)^2=0
(an+1-2)^2=(an+2)^2
an+1-2=an+2或an+1-2=-an-2
an+1-an=4或an+1+an=0
Sn=1/8*(an+2)^2
Sn+1=1/8*(an+1+2)^2
Sn+1-Sn=1/8*[(an+1^2+4an+1)-(an^2+4an)]
8an+1=(an+1^2+4an+1)-(an^2+4an)
(an+1^2-4an+1+4)-(an^2+4an+4)=0
(an+1-2)^2-(an+2)^2=0
(an+1-2)^2=(an+2)^2
an+1-2=an+2或an+1-2=-an-2
an+1-an=4或an+1+an=0