It can be solved formally using quadratic equation. The setup is obvious. Or it can be solved mentally: divide 145 by 2 to get 72.5. Therefore, the squares of two consecutive integer should be 64 and 81. Indeed, 64 + 81 = 145. Thus the integers are 8 and 9. ANSWER