Assume pow(m,2) is even integer (example 6), then m cannot be an integer.

I do understand that proof by contraposition works here. But why is the example i’ve provided wrong?

I do understand that proof by contraposition works here. But why is the example i’ve provided wrong?