An ancient Chinese math puzzle shows how to win at cards, horse races and gerrymandering A stratagem that dates back two ...