The signal probability for a XOR gate with 2 inputs is: \$sp=(1-p_A)p_B + p_A(1-p_B)\$
The signal probability for a XOR gate with 3 inputs is: \$sp = (1-p_A)(1-p_B)p_C + (1-p_A)p_B(1-p_C) + p_A(1-p_B)(1-p_C) + p_Ap_Bp_C\$
How to caclulate (what's the equation for) the signal probability of N inputs: \$sp=?\$