A sequence is periodic if it keeps repeating the same cycle over and over, for example
The period of this sequence is
For this sequence, we have
In general
For any periodic sequence of period
The periodic sequence
Given that the period of the sequence is
Find
Find the sum of the first
terms of the sequence.