How are XP divided mong party members?

Does a smaller party level up faster than if the party consists of more members?