✔ 最佳答案
The roots of x^2-px+q=0 are two consecutive integers
Let the roots be α and (α+1)
sum of the roots:
-(-p)÷1 = α + (α+1)
p = 2α + 1
product of the roots:
α(α+1) = q÷1
q = α(α+1)
∴LHS
=p^2-4q-1
=(2α+1)^2 - 4α(α+1) - 1
=4α^2 + 4α + 1 - 4α^2 - 4α - 1
=0
=RHS