First of all, I apologize if this question is considered "stupid", but I don't even know what term to search for in English to find an answer to my problem, I've tried googling it and searching here but to no avail. The questions I found were sort of related, but not exactly the same problem so I found no relevant information.
My question is: If I have a certain amount of items that can create combinations with each other, but not with a copy of itself, how would i put that into a formula?
Example: I get to pick two flavors out of strawberry, chocolate or vanilla ice cream, but I do not get two scoops of the same flavor.
The answer to this is fairly simple if I'm talking about it in a conversation, but I can't for the life of me put it in a formula that I could get for example a calculator to understand. On top of that I'd like to know how to calculate this fairly easily if the numbers reach two or even three digits.
Once again, apologies if I've overlooked an available answer, no idea what to search for, if the answer is available here already (with a formula shown in said answer), feel free to refer me to that instead of writing a fresh one.