3 consecutive positive integers : x, x + 1, x + 2
x^2 = x + 2
x^2 - x - 2 = 0
(x + 1)(x - 2) = 0
x + 1 = 0
x = -1....this is an extraneous solution that does not work
x - 2 = 0
x = 2
check...
square of the first = third
x^2 = x + 2
2^2 = 2 + 2
4 = 4 (correct)
so ur 3 integers are 2,3, and 4