Exercise 1040Logic, sets and proofs › Proof techniques › InductionL1Added 3 Nov 2026
Induction and periodicity
#induction#periodicity#recurrence
Statement
Let satisfy mod , with . Show the sequence is periodic.
Hint
The pair takes values in , finite.
Show solutionHide solution
Solution
Finiteness. The state is in , which has elements. By pigeonhole, two states repeat.
Determinism. The recurrence determines all future states from , so once two states coincide, the sequence is periodic from there.
Conclusion. The sequence is periodic.