I am picking baubles for my tree. I have five different types of baubles. In a particular row I want to place \(7\) baubles, but adjacent baubles cannot be of the same type and the first and last baubles must be the same type.
In how many ways can I arrange my \(7\) baubles?
This problem is part of the set Advent Calendar 2014.