Permalink Submitted by A Curious Person on August 8, 2021

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?

## Is x/2 even or odd, depending on the x given?

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?