# Three consecutive odd integers are such that the square of the third integer is 345 less than the sum of the squares of the first two. How do you find the integers?

Dec 13, 2016

There are two solutions:

$21 , 23 , 25$

or

$- 17 , - 15 , - 13$

#### Explanation:

If the least integer is $n$, then the others are $n + 2$ and $n + 4$

Interpreting the question, we have:

${\left(n + 4\right)}^{2} = {n}^{2} + {\left(n + 2\right)}^{2} - 345$

which expands to:

${n}^{2} + 8 n + 16 = {n}^{2} + {n}^{2} + 4 n + 4 - 345$

$\textcolor{w h i t e}{{n}^{2} + 8 n + 16} = 2 {n}^{2} + 4 n - 341$

Subtracting ${n}^{2} + 8 n + 16$ from both ends, we find:

$0 = {n}^{2} - 4 n - 357$

$\textcolor{w h i t e}{0} = {n}^{2} - 4 n + 4 - 361$

$\textcolor{w h i t e}{0} = {\left(n - 2\right)}^{2} - {19}^{2}$

$\textcolor{w h i t e}{0} = \left(\left(n - 2\right) - 19\right) \left(\left(n - 2\right) + 19\right)$

$\textcolor{w h i t e}{0} = \left(n - 21\right) \left(n + 17\right)$

So:

$n = 21 \text{ }$ or $\text{ } n = - 17$

and the three integers are:

$21 , 23 , 25$

or

$- 17 , - 15 , - 13$

$\textcolor{w h i t e}{}$
Footnote

Note that I said least integer for $n$ and not smallest.

When dealing with negative integers these terms differ.

For example, the least integer out of $- 17 , - 15 , - 13$ is $- 17$, but the smallest is $- 13$.