Problem 3082 · Hard

Find the Sum of the Power of All Subsequences

Count each k-sum set by size, then weight it by the 2 to the power of the values left outside it.

Open the interactive visualisation