We have,
Let x be any positive integer.
Then,
It is of the form 3q,3q+1,3q+2
Case 1:-
When x=3q
Then,
x3=(3q)3=27q3=9(3q3)=9mwhere,m=3q3
Case 2:-
When
x=3q+1
Then,
x3=(3q+1)3
x3=27q3+27q2+9q+1
=9q(3q2+3q+1)+1
=9m+1,wherem=q(3q2+3q+1)
Case 3:-
When
x=3q+2
Then,
x3=(3q+2)3
=27q3+54q2+36q+8
=9q(3q2+6q+4)+8
x3=9m+8
Hence, x3 is either of them 9m or 9m+1 or 9m+8.
Hence, this is the answer.