# If the sum of three consecutive odd integers is p, then in terms of p, what is the greatest of the three integers?

Mar 9, 2016

$x = \frac{p - 6}{3}$

#### Explanation:

If the largest integer is $x$ then the other two integers are $x - 2$ and $x - 4$. For example if the largest integer was $11$ then the other two numbers would be $9$ and $7$.

$\left(x - 4\right) + \left(x - 2\right) + x = p$
$3 x - 6 = p$

$x = \frac{p + 6}{3}$