Aardal and Lenstra systematically studied hard knapsack problems of the form , where , is a coprime pair of positive integers, and the integers are small relative to and . We investigate the corresponding challenging denumerant problem (i.e., counting the number of nonnegative integer solutions) and present a polynomial-time algorithm. This eliminates the computational bottlenecks caused by large values of , and . The proposed algorithm achieves a time complexity of , which depends solely on the parameters and . Moreover, we consider the problem of expressing a general vector in the above form using the LLL algorithm.

生成讲解博客的中文版本

生成AI智能校验的中文版本