What is the number of members in the house of representatives based on?

The population of a state.