Text this: The Mathematics of Voting and Apportionment