Find the largest integer [unparseable or potentially dangerous latex formula] satisfying the following conditions:
(i) [unparseable or potentially dangerous latex formula] can be expressed as the difference of two consecutive cubes;
(ii) [unparseable or potentially dangerous latex formula] is a perfect square.