paper

Polynomial-Time Evaluation of Aardal-Lenstra Denumerants via Constant Term Method

arXiv:2607.11477

Abstract

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.