Consider $X_1,\dots,X_n$ are i.i.d. from a $U[0,1]$. What is the probability that $|X_i-X_j|>d$ for some $d>0$ and for all $i,j \in \{1,\dots,n\}$. ($d$ is sufficiently small to ensure that the probability is positive)
So far, I have considered the following: If we sort the observations starting from the smallest one, $X_{[1]},\dots,X_{[n]}$, then should hold that $X_{[1]} \in [0,1-(n-1)d]$, $X_{[2]} \in [X_{[1]}+d,1-(n-2)d],\dots$$\dots, X_{[n]} \in [X_{[n-1]}+k,1]$. From these conditions one can try to calculate the integral, which even for a uniform distribution seems quite tricky.
My first question is whether there is a more clever way to proceed and my second question is whether this could be generalized in more dimensions.