← RoseCode

ROSECODE 120

Smallest difference

Philippe_57721 · Math ·

For 1 <= x,y <= 1000, the smallest possible value of |x*PI - y*E| is reached for (x,y) = 777,898
(PI = 3.141592..., E = 2.71828...)

Which pair (x,y) <= 10^20 does yield the smallest value?

Answer format: x,y