Suppose that there is a real number $r$ such that $r+\frac{1}{r}$ is an odd integer.Then $r$ is irrational.
Let $r\in \Bbb Q$ then $r=\dfrac{p}{q}\implies \dfrac{p}{q}+\dfrac{q}{p}=$odd
$\implies \dfrac{p^2+q^2}{pq}$ is odd integer.
Since $r+\frac{1}{r}$ is an odd integer$\implies pq\mid p^2+q^2$
How to derive a contradiction from here?