This is the full question
Prove that of the two equations $$ [\sqrt{n}+\sqrt{n+1}] = [\sqrt{n}+\sqrt{n+2}] \\ [\sqrt[3]{n}+\sqrt[3]{n+1}] = [\sqrt[3]{n}+\sqrt[3]{n+2}]$$ the first one holds for every positive integer $n$, but the second one does not. Note: $[x]$ denotes the greatest integer function/floor function of $x$.
For the second equation, using python I was able to find two values of $n$ between $1$ and $100$ for which the equation is false. They were $n=15$ and $n=42$. Is there a way to actually calculate these values directly from the equation. Also, I don't have any ideas for proving the first equation. Any hints?