摘要

In this paper, we propose an algorithm for enumerating all integers nonrepresentable by a given set of positive integers. We say that a positive integer n is nonrepresentable by positive integers a(0), a(1),..., a(d-1) if there exist no nonnegative integers x(0), x(1),..., x(d-1) such that Sigma(d-1)(i=0) x(i)a(i) = n. In this paper, we prove that the new algorithm runs in O (t(2)s) time, where t and s denote the input and output sizes, respectively; i.e. we prove that the algorithm can enumerate all the integers nonrepresentable by a given set of positive integers in amortized polynomial-time delay.

  • 出版日期2015-2

全文