Homepage › Solution manuals › Ivan Niven › An Introduction to the Theory of Numbers › Exercise 4.4.16* (Recurrence functions are eventually periodic)
Exercise 4.4.16* (Recurrence functions are eventually periodic)
Let and be integers, and for let be given by
where and are integers. Let be a positive integer. Show that the sequence is eventually periodic, with least period not exceeding .
Answers
Proof.
If , denotes the class of in .
Consider the map
Since , the map is not injective, so there are two indices such that
(pigeonhole principle).
We define . Then , so
Consider the property defined for by
- and , so and are true.
-
Suppose that and are true for some integer . Then
Then
Thus is true, and the induction is done.
We obtain that
The sequence is eventually periodic, with least period not exceeding . □
Note: we don’t obtain with this elementary argument the proposed result: "a least period not exceeding ", but an improvement of our result requires far more difficult theories on the "rank of apparition" (rank of appearance), so I think that there is an error in the statement (or I missed an argument).