AndreG
How many vertically striped flags can be created if the flag can have up to 4 stripes and no color can be used more than once?
A) 24
B) 48
C) 60
D) 64
E) 256
Since the question states the flag can have up to 4 stripes, the answer will equal #(flags with 1 stripe) + #(flags with 2 stripes) + #(flags with 3 stripes) + #(flags with 4 stripes).
#(flags with 1 stripe):
Since we have 4 colors to choose from, there are simply 4 flags with one vertical stripe.
#(flags with 2 stripes):
We note that this is a permutation problem since the order matters (i.e., a blue-red striped flag is not the same thing as red-blue striped flag).
Since we have 4 available colors and we need 2 colors, the number of flags with 2 stripes is 4P2 = 4!/2! = 4 x 3 = 12.
#(flags with 3 stripes):
Since we have 4 available colors and we need 3 colors, the number of flags with 3 stripes is 4P3 = 4!/(4-3)! = 4 x 3 x 2 = 24
#(flags with 4 stripes):
Since we have 4 available colors and we need 4 colors, the number of flags with 4 stripes is 4P4 = 4!/(4-4)! = 4 x 3 x 2 x 1 = 24
In total, there are 4 + 12 + 24 + 24 = 64 available choices.
Answer: D