The subset product problem asks whether, for given positive integers and a target positive integer
, there is a subset
such that
It is the multiplicative analog of the given-sum version of the subset sum problem. The decision problem is NP-complete,
even though a dynamic programming algorithm is pseudopolynomial in the numerical
value of .