Find the largest integer $n$ satisfying the following conditions:    
$\mathrm{(i)}$ $n^2$ can be expressed as the difference of two consecutive cubes;  
$\mathrm{(ii)}$ $2n + 79$ is a perfect square.

Let's think step by step and output the final answer within \boxed{}.
user