Problem

Source: 2013 Romania NMO VIII p3

Tags: algebra, fractional part, Integer Part, floor function



Find all real $x > 0$ and integer $n > 0$ so that $$ \lceil x \rceil+\left\{ \frac{1}{x}\right\}= 1.005 \cdot n.$$