MathDB
1,048,576 different ways to choose 2 cakes (1996 Chile NMO P5)

Source:

November 22, 2021
combinatorics

Problem Statement

Some time ago, on a radio program, a baker announced a special promotion in the purchase of two stuffed cakes. Each cake could contain up to five fillings of which had in the pastry. On the show, a lady said there were 1,048,5761,048,576 different possibilities to choose the two stuffed cakes. How many different fillings did the pastry chef have?