1 - (1-(1/2)^d)^(N/d) for N = 500000 and d = 30