How should I approach solving this floor function?

59 Views Asked by At

Prove that for all $n \in \Bbb Z, \lfloor\sqrt {(n)}+ \sqrt {(n+1)} \rfloor = \lfloor \sqrt{4n+2}\rfloor$.

There must be some algebraic substitution?

1

There are 1 best solutions below

0
On BEST ANSWER

Hint: for non-negative $n$, note that $$ (\sqrt n + \sqrt{n+1})^2 = 2n + 1 + 2\sqrt{n^2 + n} $$ and that $n^2 \leq n^2 + n < (n+1)^2$