Appearance
The periodic sequence un is defined by
Given that the period of the sequence is 2, find the value of p.
Work out u2 and u3. Because the period is 2, we know that u3=u1.
You get two values for p, only one of them is valid (the other choice makes the sequence have period 1).