Illustration of various apportionment methods, including the "Method of Equal Proportions" used for reapportionment in the USA, as documented on the Census website.
See also the Wikipedia page and a blog post by Lance Fortnow.
Also see this free textbook by David Lippman for more about this and other methods.