Homepage › Solution manuals › Ivan Niven › An Introduction to the Theory of Numbers › Exercise 7.7.1 (When $(\lfloor \sqrt{d} \rfloor + \sqrt{d})/c$ has a purely periodic expansion?)
Exercise 7.7.1 (When $(\lfloor \sqrt{d} \rfloor + \sqrt{d})/c$ has a purely periodic expansion?)
For what positive integers does the quadratic irrational have a purely periodic expansion?
Answers
Proof. Let . By Theorem 7.20, the quadratic irrational has a purely periodic expansion if and only if
Since is always true, (1) is equivalent for to
Since is a quadratic irrational, is not a perfect square and is not rational. Then
Therefore (2) is equivalent to
The quadratic irrational has a purely periodic expansion if and only if . □