(n+1)(n+2)=420

问题描述:

(n+1)(n+2)=420

(n+1)(n+2)=420
即n^2+3n+2=420 即n^2+3n-418=0
再代入求根公式x=[-b±√(b^2-4ac)]/2a
x1=[-3+√(9-4*(-418)]/2=[-3+√1681]/2=(-3+41)/2=19
x2=(-3-41)/2=-22