SOLUTION
From this question, for this to be, it means the designer wants to arrange 13 colors of the palette by taking 5 vertical stripes at a time, all of different colours.
That is arranging 13, taking 5 at a time.
So, this is permutation or arrangement.
This is calculated as
Hence the answer is 154,440 possible flags