Raising a flag sequence with two colors
A signal pole will hold flags stacked top to bottom: identical red flags and identical blue flags. Two stacks are the same if the color pattern from top to bottom matches.
How many distinct color patterns are possible?