If replacement is allowed, find all:
- 5-permutations of a 2-set
Please note that my solution differs from the authors’ one given at the end
- \(\{ a, a, a, a, a \}\)
- \(\{ a, a, a, a, b \}\)
- \(\{ a, a, a, b, a \}\)
- \(\{ a, a, a, b, b \}\)
- \(\{ a, a, b, a, a \}\)
- \(\{ a, a, b, a, b \}\)
- \(\{ a, a, b, b, a \}\)
- \(\{ a, a, b, b, b \}\)
- \(\{ a, b, a, a, a \}\)
- \(\{ a, b, a, a, b \}\)
- \(\{ a, b, a, b, a \}\)
- \(\{ a, b, a, b, b \}\)
- \(\{ a, b, b, a, a \}\)
- \(\{ a, b, b, a, b \}\)
- \(\{ a, b, b, b, a \}\)
- \(\{ a, b, b, b, b \}\)
- \(\{ b, a, a, a, a \}\)
- \(\{ b, a, a, a, b \}\)
- \(\{ b, a, a, b, a \}\)
- \(\{ b, a, a, b, b \}\)
- \(\{ b, a, b, a, a \}\)
- \(\{ b, a, b, a, b \}\)
- \(\{ b, a, b, b, a \}\)
- \(\{ b, a, b, b, b \}\)
- \(\{ b, b, a, a, a \}\)
- \(\{ b, b, a, a, b \}\)
- \(\{ b, b, a, b, a \}\)
- \(\{ b, b, a, b, b \}\)
- \(\{ b, b, b, a, a \}\)
- \(\{ b, b, b, a, b \}\)
- \(\{ b, b, b, b, a \}\)
- \(\{ b, b, b, b, b \}\)
Authors’ answer: \(aaaa, aaab, aaba, abaa, baaa, aabb, abab, abba, baab, baba, bbaa, abbb, babb, bbab, bbba, bbbb;\)
- 2-permutations of a 3-set
- \(\{ a, a \}\)
- \(\{ a, b \}\)
- \(\{ a, c \}\)
- \(\{ b, a \}\)
- \(\{ b, b \}\)
- \(\{ b, c \}\)
- \(\{ c, a \}\)
- \(\{ c, b \}\)
- \(\{ c, c \}\)
- 5-combinations of a 2-set
Please note that my solution differs from the authors’ one given at the end
- \(\{ a, a, a, a, a \}\)
- \(\{ a, a, a, a, b \}\)
- \(\{ a, a, a, b, b \}\)
- \(\{ a, a, b, b, b \}\)
- \(\{ a, b, b, b, b \}\)
- \(\{ b, b, b, b, b \}\)
Authors’ answer: \(\{a, a, a, a\}, \{a, a, a, b\}, \{a, a, b, b\}, \{a, b, b, b\}, \{b, b, b, b\};\)
- 2-combinations of a 3-set
- \(\{ a, a \}\)
- \(\{ a, b \}\)
- \(\{ a, c \}\)
- \(\{ b, b \}\)
- \(\{ b, c \}\)
- \(\{ c, c \}\)