如果解方程2x/(x+1)=a/(x+2)+1/(x^2+3x+2)时,会产生增根,求a的值?