Homepage › Solution manuals › Ivan Niven › An Introduction to the Theory of Numbers › Exercise 4.1.28* ($\left \lfloor \sqrt{n} + \sqrt{n+1} \right \rfloor = \left \lfloor \sqrt{n} + \sqrt{n+2} \right \rfloor.$)
Exercise 4.1.28* ($\left \lfloor \sqrt{n} + \sqrt{n+1} \right \rfloor = \left \lfloor \sqrt{n} + \sqrt{n+2} \right \rfloor.$)
Prove that of the two equations
the first holds for every positive integer , but the second does not.
Answers
Proof.
- (a)
-
Suppose for the sake of contradiction that
.
Then there exits a positive integer such that
(Take . Then . If , then
so , and this contradicts our hypothesis. Therefore ).
Put , so that is an integer. By (1), , thus , so .
We use this expression of in inequalities (1):
These inequalities are equivalent to
Since , we obtain .
- If , then . This contradicts (3), therefore .
- If , then . This contradicts (3), therefore .
- If , then , so . This congruence has no solution, therefore .
- If , then , so . This congruence has no solution, therefore .
This shows that the inequalities (4) are not satisfied for any pair of positive integers . Equivalently, the inequalities (1) are not satisfied for any pair of positive integers . Therefore, for any positive integer ,
- (b)
-
If
,
Therefore
(we obtain similar inequalities for n = 42, 274, 421, …).
So
is not true for every integer , □