if you have 5 signal flags and can send messages by hoisting 1 or more flags on a flagpole, how many messages can you send? please help!!

1 answer

I am wondering if the signal flags are different? If they are, then
5! + 5*4*3*2 + 5*4*3 + 5*4 + 5

check my thinking