James B. answered 05/19/16
Tutor
5.0
(3,069)
Experienced, Patient, Passionate Math Tutor (In-person and online)
This requires use of a Permutation formula ... you are taking 5 flags at a time, from a group of 8 flags.
The formula is as follows:
nPr = n!/(n - r)!
n = 8 ... the total number of flags ... r = 5 ... the number of flags you are taking each time
8P5 = 8!/(8-5)!
= 8!/3!
= (8)(7)(6)(5)(4)3!/3!
= (8)(7)(6)(5)(4)
= 6720