Find two consecutive integers such that the sqaure of the bigger number in equal to the product of number

The two numbers: x and x+1

(x+1)^2 = x(x+1)

solve for x