Sequence of sequences

1.1k Views Asked by At

I have a sequence {0, 1, 2, 3, 3, 4, 6, 9, 8, ...} for which I am to find the summation of terms to the nth term, Cn

I've broken this down into three alternating sub sequences with the pattern: AP-GP-GP like so {0, 3, 6, ...}, {1, 3, 9, ...} and {2, 4, 8, ...}

To find the sum to the nth term of the bigger sequence it'd just be the sum of the sum to the nth term for each of the sub sequences. Easy enough.

However, the number of terms in the sub sequence, N ≠ n, the number of terms in the larger sequence. I need a way to represent N in terms of n in order to arrive at a single formula for Cn. I've determined that it can be N = n/3 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?

1

There are 1 best solutions below

0
On BEST ANSWER

N = (n + i)/3 where i = {0, 1, 2}