electoral arithmetic