ue if no solution was found.
          If a solution was found, you might call again for further solutions
          in the unchecked portion of the range, using the range
          [ <i>i+1</i>, <i>r(2)</i> ].
        </li>
      </ul>
    </p>

    <h3 align = "center">
      Example:
    </h3>

    <p>
      <pre>
        w = [ 1, 2, 4, 8, 16, 32 ];
        t = 22;
        r = [ 0, 2^6 - 1 ];

        [ c, index ] = subset_sum ( w, t, r )

        c = [ 2, 3, 5 ]
        index = 22
        ( the binary r