Example 1.4 Find the number of subsets of the n-element set A={a1,a2,⋯,an}.
Official solution
Solution: We can construct a subset of an n-element set A through n steps, where the k-th step (k=1,2,⋯,n) is to determine whether to select ak as an element of the subset. Since there are two ways to complete each step, by the multiplication principle, the number of ways to construct a subset of the n-element set A is 2n, meaning that the n-element set A has 2n subsets.
Source: NuminaMath-1.5,
licensed Apache-2.0.
Statement and solution reproduced as published; topic, difficulty and ordering added
by this site.