Problem

COM-B2-M09-P020 Binary Weights with Carries

#20 Grade 10 Grade 11 ★★★★★ Level 5 of 5

Let \(m\ge 1\). There are weights \(2^0,2^1,\ldots,2^{m-1}\), and each weight may be taken \(0\), \(1\), \(2\), or \(3\) times. In how many ways can one obtain total weight \(2^m-1\)?

Method inspiration: local combinatorics source