1 + (2 * 1 ) + (2 * 2 * 0 ) + (4 * 2 * 1 ) + (8 * 2 * 1 ) + (16 * 2 * 1 ) + (32 * 2 * 1 ) = 123