WolframAlpha computational knowledge AI
sum of G * k * ( (N-G)! * (N-k-1)! ) / ( (N-G-k)! * N! ) from k = 0 to (N-G)