
William L. answered 10/14/22
PhD in Pure Mathematics with 20+ years of teaching experience.
Suppose that n3 is odd and assume, by contradiction, that n is even.
An even number is one of the form 2k, where k is an integer.
If n is even, then n = 2k, for some integer k, and so n3 = (2k)3= 8k3.
If we set k' = 4k3, then n3 = 8k3 = 2 × 4k3 = 2k', and so n3 is also even!
But n3 is odd, which is a contradiction since no number can be both even and odd.
Since n cannot be even because it implies a contradiction, it follows that n must be odd.
QED