Problem 2243 · Easy

Calculate Digit Sum of a String

Repeatedly replace groups of k digits by their digit sums until the string is short enough.

Open the interactive visualisation