A (p,q)-ary chain is a special type of chain partition of integers with
parts of the form paqb for some fixed integers p and q. In this note,
we are interested in the maximal weight of such partitions when their parts are
distinct and cannot exceed a given bound m. Characterizing the cases where
the greedy choice fails, we prove that this maximal weight is, as a function of
m, asymptotically independent of max(p,q), and we provide an efficient
algorithm to compute it.Comment: 17 page