Mathematics of Gerrymandering Districts - 'Cracking' and 'packing' are two techniques that can be used by a political party to create districts that ensure continued dominance.  They work by reducing the efficiency of opposition voters by grouping them into minority districts for e.g. 40% of the local vote (cracking) or into supermajority districts for e.g. 60% of the vote (packing).  In the first case, all opposition votes are essentially wasted, while in the second, all votes above 50% are wasted. 

Computer algorithms have made these techniques relatively easy to implement, and with devastating effect, prompting a Supreme Court review of the legality of using mathematics to introduce clear disparities in voter efficiency. 

While Mathematics itself is independent of ethics, its applications are not.  At stake is the legality of an algorithm specifically designed to erode democracy.

Article: Noah Feldman, Bloomberg, 22 Nov 2016.
https://www.bloomberg.com/view/articles/2016-11-22/wisconsin-republicans-gerrymander-takes-politics-too-far