Let's say I have $A = \{x \mid x < 7\} = \{1, 2, 3, 4, 5, 6 \}$ the power set of $A$ has subsets $\{\{\}\{1\}, \{2\}, \{3\}, \{4\}, \{5\}, \{6\}, \ldots, \{1, 2, 3, 4, 5, 6\}\}$.
Here I want to have subsets with cardinal of 3 from power set subsets, like $\{\{1, 2, 3\}, \ldots, \{4, 5, 6\}\}$ or with cardinal of 2, what should I write to get only these subsets?
Also I want to know how to apply a function on them, say I have $f(a, b)$, and it can take 2 or more as inputs, I want to apply my $f(a, b)$ on the subsets of cardinal of 2, then of cardinal of 3 and so on?
for example, I want my function take all subsets of $B={x|x<3}$ with size of two as inputs, like $f(1,2)$ and $f(1,3)$ and $f(2,3)$, the order doesn't matter, and the set always has to be finite, then for example I want the sum of all of $f(1,2)$ and $f(1,3)$ and $f(2,3)$, like, would this work $\sum f( (B¦2) )$?
So I have two questions, please answer them.