https://www.guffo.in/use-euclids-division-lemma-show-cube-positive-integer-form-9m-9m-1-9m-8/
Use Euclid’s division lemma to show that the cube of any positive integer is of the form 9m, 9m +1 or 9m +8.