Examples for $ \text{If } \; x-\lfloor x \rfloor + \frac{1}{x} - \left\lfloor \frac{1}{x} \right\rfloor = 1 \text{, then } x \text{ is irrational.}$ I saw the answers here about how to prove:
$$ \text{If } \; x-\lfloor x \rfloor + \frac{1}{x} - \left\lfloor \frac{1}{x} \right\rfloor = 1 \text{, then } x \text{ is irrational.}$$
I understood the proof. But, can someone give me an example for an irrational $x$ that makes this equality true?

Clearly,$$x+\frac1x$$ is an integer, let $n$, and solving the equation for $x$,
$$x=\frac{n+\sqrt{n^2-4}}2,\\
\frac1x=n-x.$$
For large $n$, we have by the Taylor development
$$x=\frac{n+\sqrt{n^2-4}}2=\frac n2\left(1+\sqrt{1-\frac4{n^2}}\right)\approx n-\frac1n,\\\frac1x=n-x\approx\frac1n.$$
Thus the integer parts are respectively $n-1$ and $0$, and the initial equation is 
verified:
$$x-(n-1)+(n-x)-0=1$$
(actually it works for any $n>2$).
