(i)
We have:
The next number to be subtracted is 91, which is greater than 5.
130 is not a perfect cube.
(ii)
We have:
The next number to be subtracted is 161, which is greater than 2.
345 is not a perfect cube.
(iii)
We have:
The next number to be subtracted is 271, which is greater than 63.
792 is not a perfect cube.
(iv)
We have:
The subtraction is performed 11 times.
Thus, 1331 is a perfect cube.