a+1=a^2
则a^2-a=1
a^2-a+1/4=1+1/4
即a^2-2*a*(1/2)+(1/2)^2=5/4
(a-1/2)^2=(√5/2)^2
所以a-1/2=±√5/2
则a=(1±√5)/2