Yea, this is definitely a confusing question. One of those where a large part of the time you’re trying to figure out what it’s exactly asking. I think an example would help.

Given [1, 1, 2, 3, 4, 4, 4, 5] return the sum of all “pair-consecutive” elements.

(1 1) in [ (1 1) 2 3 4 4 4 5] is a pair consecutive element because it is the *same* number next to each other.

2 is not a pair

3 is not a pair

This (4 4) in [1 1 2 3 (4 4) 4 5] is a pair consecutive element because it is the *same* number next to each other. The next 4 doesn’t matter in this case.

Then, the next (4 4) in [1 1 2 3 4 (4 4) 5] is a pair consecutive element because it is the *same* number next to each other. The middle 4 can be used for both of these cases, because the pair-consecutive elements are still *different* from each other.

5 is not a pair

The answer is then one pair-consecutive element of (1s), and two pair-consecutive elements of (4s), which results in a sum of 1 + 4 + 4 = 9