paper

On the Frobenius Coin Problem in Three Variables

arXiv:2203.11457

Abstract

The three-variable Frobenius coin problem asks for the largest integer that cannot be represented as a non-negative integer combination of three positive integers with . We introduce an algorithmic framework based on two synchronized Euclidean-division sequences. The method has arithmetic complexity , matching the best known logarithmic order for the three-variable problem. We prove that this dependence is asymptotically sharp for the proposed algorithm by constructing an explicit infinite Fibonacci-type family for which Step 2 requires iterations. Hence the worst-case arithmetic complexity of the algorithm is . We also give a constant-overhead reduction from gcd computation to two evaluations of the three-variable Frobenius function. In addition, the synchronized framework yields an upper bound for the Frobenius number, recovers several known special cases, and provides another proof of the Erdős--Graham bound. The main advantage of the method is its elementary Euclidean structure, which supports both computation and theoretical analysis.