Problem 3704 · Hard
Digit DP over the digits of n, tracking the carry and which addends have ended.
Open the interactive visualisation