Problem 2
Find all integers for which there exist real numbers satisfying , , and for .
Step 5 of 7: If the sequence is constant
Detailed analysis
The relation for every means depends only on the residue of modulo , because repeatedly shifting an index by modulo cycles exactly through its residue class modulo before returning to itself. Since , the case forces , so every index lies in one residue class and .