posted by chrisw on .
find 3 consecutive integers such that the product of the second and third integer is 20
Take three integers x, y, and z.
The for xyz, we want y*z = 20
The factors of 20 are
20*1 are not consecutive.
10*2 are not consecutive.
But 5 and 4 are consecutive; therefore, we just add 3 in front to make it 345.
These are three consecutive integers and the second and third multiply to give 20.
n, n+1, n+2 are the integers.
solve for n.