Please excuse me if this question is too juvenile for this forum. Actually weirdly I cant figure this out.
I have 3 letters $A, B, C$ I need a formula that gives me all the possible arrangements for this like: $$ A, B, C\\ AB, BC, CA\\ ABC $$ Note, the order is not important and I want to exclude the duplicated like $CA$ and $AC$. I need this for $n$ letters.
Sorry again and I am really ashamed to be asking this question here ;)
Try $$(1+A)(1+B)(1+C)=1+A+B+C+AB+AC+BC+ABC$$
and extend it to $n$...