the question
Show that if $a$ and $q$ are natural numbers and the number $(a+\sqrt{q})(a+\sqrt{q+1})$ is rational, then $q=0$.
the idea
for the number to be rational both members have to be rational (*)
because a is natural, it means that $\sqrt{q}$ and $\sqrt{q+1}$ should both be perfect squares, but they are also consecutive
$\sqrt{q}+1=k^2+1$ => $\sqrt{q+1}=k^2+2k+1$
The equality would happen only id $2k=0 => k=0 => q=0$
Im not sure of the part I noted (*), because I think I should also demonstrate this fact, but I don't know how. Hope one of you can tell me if my idea is right and how can I improve my answer! Thank you!