Answer: The two integers are 8 and 9.
Step-by-step explanation: Let n represent the number.
n^2 + (n + 1)^2 = 145
By foiling, this can be rearranged to:
n^2 + n^2 + 2n + 1 = 145
Subtract 145 from both sides:
2n^2 + 2n - 144 = 0
Divide both sides by 2:
n^2 + n - 72 = 0
Factor the polynomial:
(n + 9)(n - 8) = 0
Solve for n:
n = -9, n = 8
Since they need to be consecutive, make the 9 positive. It will be positive either way because it is being squared.
Now, n = 9 and n = 8.
These are your two integers. Hope this helps!