r/mathematics • • 1d ago

Does using the Euclidean algorithm improve the average efficiency of solving all solvable problems, even slightly, compared to not using it? Assume that the problem is disclosed to the solver and has a description length of at most N (where N is finite).

0 Upvotes

5 comments sorted by

10

u/Vituluss 1d ago

What?

1

u/Wise_Ad7376 1d ago

It's a trade-off: paying the cost to check every problem for a silver bullet (the Euclidean algorithm) that only helps a tiny fraction of them can actually end up lowering overall average efficiency.

3

u/Mal_Dun 1d ago

No.

Proof: You can't solve any solvable problem with the Euclidean algorithm in a non-Euclidean ring or domain. QED

2

u/lemoinem 1d ago

Any problem that doesn't require computing the gcd of two numbers would be made worse by using the euclidean algorithm