Consider the sequence 1, 2, 1, 2, 2, 1, 2, 2, 2, 1, 2, 2, 2, 2, 1, ...
What is the sum of the first 100 terms of this sequence?
Sum ==12/2 * [2*3 + 2*(12 - 1)] ==168 + 1 + [2 *9] ==187 sum of the first 100 terms.