Hello, mx-!

I don't see how to "adapt Euclid algorithm",

. . but there is acontinued fractionapproach.

By adapting Euclid's algorithm, find integers between 1 and 1000 such that

their quotient agrees with the constant up to 6 decimal places (3.14159265)

. .

. . . .

. . . .

Therefore: .

. .

This is theonlysolution to this problem.