The problem is strongly NP-hard if is NP-hard for some fixed polynomial. Thus NP-hardness persists even when all numbers are polynomially bounded in the input length.
For standard numerical problems, this is equivalently expressed as NP-hardness under unary encoding.
Hard in Binary and Unary
If the unary encoding length is upper-bounded by a fixed polynomial in the binary encoding length , then polynomial time in is also polynomial time in .
Use the standard explicit binary encoding: zero is written as 0, and every positive integer uses at least one bit. Thus each field has length . This is a convention about the representation, not a restriction on the numerical values. If an alternative encoding allows empty fields, their delimiters must still identify each field; count that space instead. A compressed instruction such as “repeat zero times” is not an explicit list, so this argument does not apply to it.
Distinguish:
Structural count: since , we have .
Encoded values: these may be exponentially larger than their bit-lengths.
Strong NP-hardness gives an NP-hard restriction with . Its unary length satisfies
Give a polynomial-time reduction whose output numbers are polynomially bounded in the output length. The source may be a known strongly NP-hard problem or a non-numerical problem such as 3-SAT.
Constant-sized output numbers suffice, but are not required: polynomially bounded does not mean constant.