An $m\times n\times p$ rectangular box has half the volume of an $(m + 3)\times(n + 3)\times(p + 3)$ rectangular box, where $m, n,$ and $p$ are integers, and $m\le n\le p.$ What is the largest possible value of $p$?
$2mnp=(m+3)(n+3)(p+3)$, so $2=\bigl(1+\frac3m\bigr)\bigl(1+\frac3n\bigr)\bigl(1+\frac3p\bigr)$. Since $\left(1+\frac3m\right)^3\ge2$, $m\le11$, and $m\ge4$.
Solving for $p$ gives $p=\frac{3(m+3)(n+3)}{2mn-(m+3)(n+3)}$. To make $p$ large, make the denominator small: $m=4$ gives $p=\frac{21(n+3)}{n-21}$, largest at $n=22$, giving $p=\frac{21\cdot25}1=525$.