Two integers x and y are chosen at random in the interval (0, 1,000,000) with respect to the
uniform distribution.
What is the probability that the closest integer to x/y is even?
The required probability is ~0.46484.
Edited on March 7, 2024, 3:35 am