If you can double-up or triple up, then there are (5 x 5 x 5) = 125 possibilities. But actually that is for Permutations(meaning putting on Mushrooms Pepperoni and then Sausage, is a different set of ingredients than Pepperoni Sausage then Mushroom). So actually we want Combinations [order does not matter] See the related link for further explanation. The answer for Combinations with repetition is : n! / (r!(n - r)!), where n = 5 and r = 3, and:
Chat with our AI personalities
There are 7C5 = 7*6/(2*1) = 21 pizzas.
8C3 = 8*7*6/(3*2*1) = 56
You can make 28 = 256 pizzas. Topping 1: You either have it or you don't: two choices. With each choice, for topping 2: You either have it or you don't: two choices. That makes 2*2 or 22 choices. With each choice for the first two, for topping 3: You either have it or you don't: two choices. That makes 2*2*3 or 23 choices. and so on, making 28 choices in all. Note that one choice will comprise no toppings.
32 combinations. 4 of these will have no toppings, or all three toppings, 12 will have one topping and another 12 will have 2 toppings.
three