Problem 3098 · Hard

Find the Sum of Subsequence Powers

The power of a subsequence is its smallest gap, so count the subsequences whose gaps are all at least each threshold and add them up.

Open the interactive visualisation