HF RL Explorer

construct/rlve construct hack interval

construct/rlve construct hack interval: a task in MathConstructOptimize-Envs-harbor (Harbor dataset). Let f(x) be the sum of the decimal digits of x (e.g. f(1234) = 10). Construct integers L and R with 1 <= L <= R <= 6743216346726580 (that is, 10 674321634672658) such that f(L) + f(L+1) + ... +…

The task

Let f(x) be the sum of the decimal digits of x (e.g. f(1234) = 10). Construct integers L and R with 1 <= L <= R <= 6743216346726580 (that is, 10 * 674321634672658) such that f(L) + f(L+1) + ... + f(R) is divisible by 674321634672658.

Part of amphora/MathConstructOptimize-Envs-harbor.