If the product of two consecutive integers is 182, how do you find the integers?

1 Answer
Jun 28, 2015

The positive solutions are:

floor(sqrt(182)) = 13 and ceil(sqrt(182)) = 14

There are also negative solutions: -14 and -13

Explanation:

If the positive integers are n and n+1, then

n^2 < n(n+1) < (n+1)^2

So

n = sqrt(n^2) < sqrt(n(n+1)) < sqrt((n+1)^2) = n+1

Hence

n = floor(sqrt(n(n+1))) and n+1 = ceil(sqrt(n(n+1)))