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 u 0 and u 1 be integers, and for n 2 let u n be given by

u n = a u n 1 + b u n 2 ( 4.2 )

where a and b are integers. Let m be a positive integer. Show that the sequence u n ( mod m ) is eventually periodic, with least period not exceeding m 2 1 .

Answers

Proof.

If a , [ a ] m denotes the class of a in mℤ .

Consider the map

φ { [ [ 0 , m 2 ] ] ( mℤ ) 2 i ( [ u i ] m , [ u i + 1 ] m )

Since Card [ [ 0 , m 2 ] ] = m 2 + 1 > m 2 = Card ( mℤ ) 2 , the map φ is not injective, so there are two indices i , j such that

0 i < j m 2 , ( [ u i ] m , [ u i + 1 ] m ) = ( [ u j ] m , [ u j + 1 ] m )

(pigeonhole principle).

We define h = j i . Then h j m 2 , so

1 h m 2 .

Consider the property defined for k by

𝒫 ( k ) : u k u k + h ( mod m ) .

  • u i u j = u i + h ( mod m ) and u i + 1 u j + 1 = u i + 1 + h ( mod m ) , so 𝒫 ( i ) and 𝒫 ( i + 1 ) are true.
  • Suppose that 𝒫 ( k ) and 𝒫 ( k + 1 ) are true for some integer k i . Then

    u k u k + h ( mod m ) , u k + 1 u k + 1 + h ( mod m ) .

    Then

    u k + 2 + h = a u k + 1 + h + b u k + h a u k + 1 + b u k = u k + 2 ( mod m ) .

    Thus 𝒫 ( k + 2 ) is true, and the induction is done.

We obtain that

k , k i u k + h u k ( mod m ) .

The sequence u n ( mod m ) is eventually periodic, with least period not exceeding m 2 . □

Note: we don’t obtain with this elementary argument the proposed result: "a least period not exceeding m 2 1 ", 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).

User profile picture
2025-02-25 09:54
Comments