At an election, a voter may vote for any number of candidates not greater than the number to be chosen. There are 10 candidates and 5 members to be selected. The number of ways of in which a voter can vote is:
The voter has to vote for at least one and at most 5 candidates. The number of ways is: