Let x be a random real number from the interval (0, 1].

Let nint(x) be the nearest integer function of x.

What is the probability that nint(1/x) is even?

Nearest integer function - Wikipedia, the free encyclopedia

Moderator edit:Approved Challenge question.