I have a set like this: A = {1, 2, 3, 5}. From this set, I can create many set like this:
- Only one member in a new set: {1}, {2}, {3}, {5}. And the times a member occurs is equal to 1. ( Yes, 1, 2, 3, and 5 just occurs 1 times).
- 2 members in a new set: {1, 2}, {1, 3}, {1, 5}, {2, 3}, {2, 5}, {3, 5}. The number of set is equal to 4C2 = 4!/(2!(4-2)!) = 6. And the times a member occurs is equal to 3. (Yes, each of member occurs 3 times, you can count it).
- 3 members in a new set: {1, 2, 3}, {1, 2, 5}, {1, 3, 5}, {2, 3, 5}. The number of set is equal to 4C3 = 4!/(3!(4-3)!) = 4. Similar, the time a member occurs is equal to 3 times.
- 4 members in a new set: {1, 2, 3, 5}. The number of set equal to 4C4 = 4!/(4!(4-4)!) = 1. Similar, the time a member occurs is equal to 1 times.
But in this case, my set (A) is small. When it large(with n members, n is natural number), how can I count how many times a member occurs in a each of many new set.
Sorry for my bad english. Hope you can understand and give me any ideas or any solutions. Thanks so much.