We have the sequence for which we have to find the summation of terms to the nth term,
However, the number of terms in the sub sequence, , the number of terms in the larger sequence. What is a way to represent N in terms of n in order to arrive at a single formula for ? I've determined that it can be but this is only true for cases where n is a multiple of 3. How do I find those two cases where n isn't a multiple of 3?