计算机科学 > 数据结构与算法
[提交于 2025年1月3日]
标题:A fast algorithm for the Frobenius problem in three variables
查看原文 PDF 中文 PDF (下批处理) EasyResearch 阅读摘要:Given a set of three positive integers {a1, a2, a3}, denoted A, the Frobenius problem in three variables is to find the greatest integer which cannot be expressed in the following form, where x1, x2 and x3 are non-negative integers: x1*a1 + x2*a2 + x3*a3 The fastest known algorithm for solving the three variable case of the Frobenius problem was invented by H. Greenberg in 1988 whose worst case time complexity is a logarithmic function of A. In 2017 A. Tripathi presented another algorithm for solving the same problem. This article presents an algorithm whose foundation is the same as Tripathi's. However, the algorithm presented here is significantly different from Tripathi's and we show that its worst case time complexity also is a logarithmic function of A
提交历史
来自:Daniel Rosin[v1] 2025年1月3日 星期五 00:00:00 UTC