Homepage › Solution manuals › Ivan Niven › An Introduction to the Theory of Numbers › Exercise 7.3.4 (Value of $\langle a_n,a_{n-1}, \ldots,a_0 \rangle$)
Exercise 7.3.4 (Value of $\langle a_n,a_{n-1}, \ldots,a_0 \rangle$)
For , prove that . Find and prove a similar continued fraction expansion for , assuming .
Answers
Let be a sequence of integers, all positive except perhaps . Here the sequences and are defined as in section 7.3. They verify the following Lemma.
Lemma.
- (i)
- For all ,
- (ii)
-
Put
Then
Proof. (of Lemma.)
- (i)
-
By 7.6,
Assume that the equality (1) is true for some integer . Then
The induction is done, which proves (i).
- (ii)
-
Put
.
Then part (i) shows that , thus . By Theorem 7.4.,
Proof. (of Problem 7.3.4)
- (a)
-
Since we don’t know if
is positive, we take away
: by (1),
The transpose of both members gives
Since all are positive, the part (ii) of the Lemma, applied tho the sequence , shows that, for all ,
- (b)
-
Similarly, the transpose of both members of (1) gives
If , then the Lemma shows that
(If , then , so .)
In conclusion, if , then
□