# Fraction approximation of decimal

Let $$m, n$$ are positive integers such that $$\left|\dfrac{m}{n}-e\right|\le 10^{-6}$$.

Find the minimum value of $$n$$.

Detail and assumptions:

• $$e$$ is the base of the natural logarithm.
• $$e\approx 2.7182818284$$
×