Problem 964 · Hard

Least Operators to Express Number

Write the target in base x and choose, digit by digit, between plain copies and borrowing from the next power.

Open the interactive visualisation