I am investigating on the hailstone problem for some fun. I found that g(x) = 3x + 1 is always going to be even if x is odd. How could I know wether f(x) = x/2 is even or odd, depending on the x?

CAPTCHA
This question is for testing whether you are a human visitor and to prevent automated spam submissions.