Let the consecutive integers be x and +1
Their product = x(+1) = 2+x
By problem 2+x = 306
2+x-306 = 0
where x is the smaller integer.