Now go the other way: write a plain string with k[...] repeat groups so that the encoding is as short as possible.
Now go the other way: write a plain string with k[...] repeat groups so that the encoding is as short as possible.
The discussion opens with the full question.