Each of M and N is a positive integer. Find the minimum value of M+N such that:
(A) abs(pi/e – M/N) < 10^{3}
(B) abs(pi/e – M/N) < 10^{4}
*** abs(x) denotes the absolute value of x.
*** e denotes the Euler's number .


perplexus dot info 


