J. F. Banzhaf, Weighted voting does not work: a mathematical analysis, Rutgers Law Review, vol.19, pp.317-343, 1965.

J. F. Banzhaf, Multi-member electoral districts: do they violate the one man, one vote principle, Yale Law Journal, vol.75, pp.1309-1338, 1966.

G. Chamberlain and M. Rothschild, A Note on the Probability of Casting a Decisive Vote, Journal of Economic Theory, vol.25, pp.152-162, 1981.

M. R. Feix, D. Lepelley, V. Merlin, and J. L. Rouet, The probability of conflicts in a U.S. presidential type election, Economic Theory, vol.23, pp.227-257, 2004.
URL : https://hal.archives-ouvertes.fr/hal-00010165

W. V. Gehrlein and D. Lepelley, Voting Paradoxes and Group Coherence, 2011.
URL : https://hal.archives-ouvertes.fr/hal-01243452

P. C. Fishburn and W. V. Gehrlein, Borda's Rule, Positional Voting, and Condorcet's Simple Majority Principle, Public Choice, vol.28, pp.79-88, 1976.

I. J. Good and L. S. Mayer, Estimating the Efficacy of a Vote, Behavioral Science, vol.20, pp.25-33, 1975.

M. J. Hinich, R. Mickelsen, and P. C. Ordeshook, The Electoral College Versus a Direct Vote: Policy Bias, Reversals, and Indeterminate Outcomes, Journal of Mathematical Sociology, vol.4, pp.3-35, 1972.

S. Kaniovski and A. Zaigraev, The Probability of Majority Inversion in a Two-Stage Voting System with Three States, 2017.

K. Kikuchi, The Likelihood of Majority Inversion in an Indirect Voting System, 2017.

K. Kikuchi, A Note on Election Inversion, 2018.

K. Kuga and H. Nagatani, Voter Antagonism and the Paradox of Voting, Econometrica, vol.42, pp.1045-1067, 1974.

L. Breton, M. , and D. Lepelley, Une Analyse de la Loi Electorale du 29 Juin 1820, Revue Économique, vol.65, pp.469-518, 2014.
URL : https://hal.archives-ouvertes.fr/hal-01243411

L. Breton, M. Lepelley, D. , and H. Smaoui, Correlation, Partitioning and the Probability of Casting a Decisive Vote under the Majority Rule, Journal of Mathematical Economics, vol.64, pp.11-22, 2016.
URL : https://hal.archives-ouvertes.fr/hal-01452554

D. Lepelley, V. Merlin, and J. L. Rouet, Three Ways to Compute accurately the probability of the Referendum paradox, Mathematical Social Sciences, vol.23, pp.227-257, 2011.
URL : https://hal.archives-ouvertes.fr/halshs-00602133

K. May, Probability of Certain Election Results, American Mathematical Monthly, vol.55, pp.203-209, 1948.

N. R. Miller, Election Inversions by the U.S. Electoral College, Electoral Systems, 2012.

N. R. Miller, Why the Electoral College is Good for Political Science (and Public Choice), Public Choice, vol.150, pp.1-25, 2012.

H. Nurmi, Voting paradoxes and How to deal with Them, 1999.

G. Owen, Evaluation of a Presidential Election Game, American Political Science Review, vol.69, pp.947-953, 1975.

L. S. Shapley and M. Shubik, A method for evaluating the distribution of power in a committee system, American Political Science Review, vol.48, pp.787-792, 1954.

P. D. Straffin, The Shapley-Shubik and Banzhaf Power Indices as Probabilities, The Shapley Value: Essays in Honor of Lloyd S. Shapley, 1988.

E. R. Tufte, The Relationship between Seats and Votes in Two-Party Systems, American Journal of Political Science, vol.67, pp.540-554, 1973.

, To do so we need the vector ln ? for the integers ranging from 1 to 3n max + 2 with n max = 1001

. >-n, , p.1001

&. and -. , lgamm=as.double(rep(0,3 * n.max+2)), IAC$(double * phi, double * n, p.3

, ? n: a vector of double (to be specified by the user) of dimension taille containing the values of n, ? taille: an integer (to be specified by the user) corresponding to the number of values to be calculated, ? lgamm: a vector of dimension 3n max + 2 containing the values of ln ?, where n max = max(n), ? eps: a double (to be specified by the user) corresponding to the value of ?, ? nb_calc: a vector of double, ? phi: a vector of double (initialized at 0) of dimension taille containing all the values of?

, ? approx: a vector of double (initialized at 0) of dimension taille delivering Err = Err 1 + Err 2 + Err 3

, Illustration We want to compute? for two values: n = 101 and n = 1001

, > n<-c, vol.101, p.1001