Homepage › Solution manuals › Ivan Niven › An Introduction to the Theory of Numbers › Exercise 4.4.25* ($\lfloor(1 + \sqrt{3})^{2n} \rfloor + 1$ and $\lfloor(1 + \sqrt{3})^{2n+1} \rfloor$ are divisible by $2^{n+1}$)
Exercise 4.4.25* ($\lfloor(1 + \sqrt{3})^{2n} \rfloor + 1$ and $\lfloor(1 + \sqrt{3})^{2n+1} \rfloor$ are divisible by $2^{n+1}$)
Show that and are both divisible by . Are they divisible by any higher power of ?
Answers
Proof.
- (a)
-
Consider the sequence
defined by
The roots of the characteristic polynomial are
By theorem 4.10,
We note that , thus and . Therefore
so
This shows that
It remains to show by induction that and . Consider the proposition
- First and , so is true.
-
Suppose now that is true for some integer . Then and . Therefore
and
Then is true, and the induction is done.
-
In conclusion,
- (b)
-
As counterexamples,
, and
, so for some values of the indices
,
is divisible by a higher power of
than
(perhaps it is the answer waited by NZM, but we can prove a little more).
After some experiment (see the note below), we conjecture that
where
(We cannot prove this property by induction.)
Since and by part (a), we can consider the two sequences with integer values, defined by
Since and
we obtain
that is
so
The characteristic polynomial of is
By (1), for all ,
The Cayley-Hamilton Theorem gives , thus , and (2) shows that for all ,
Since for all , where , then , thus is odd for every index , and . This proves that
Moreover , and , thus and , so , where is an integer, is odd and is twice an odd integer.
Since , if is even, and if is odd.
In conclusion,
where
Note: We give the verification of these results with Python.
def nu2(n): counter = 0 while n % 2 == 0: n //= 2 counter += 1 return counter def V(n): V0, V1 = 2, 2 for i in range(n): V0, V1 = V1, 2*(V0 + V1) return V0 [nu2(V(2*i+1)) for i in range(11)] [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11] [nu2(V(2*i)) for i in range(11)] [1, 3, 3, 5, 5, 7, 7, 9, 9, 11, 11]