Asker: Alexander, 12 years old
Answer
If you have to choose four times from three possibilities (A, B and C) you have 81 possible combinations. You can choose from three for the first attack. Each of those three can then be expanded in three ways at the second attack. That gives 9 combinations (to write them down: AA, AB, AC, BA, BB, BC, CA, CB CC)
Each of those 9 can be expanded in three ways at the third attack, so that has 9 x 3 = 27 combinations of three attacks
Finally, you can expand each of those 27 a fourth time three ways to get 81
On the attached document you see the 27 combinations that start with A.

Answered by
prof.dr. Paul Hellings
Department of Mathematics, Fac. IIW, KU Leuven

Catholic University of Leuven
Old Market 13 3000 Leuven
https://www.kuleuven.be/
Old Market 13 3000 Leuven
https://www.kuleuven.be/
.