HF RL Explorer

construct/mc magic sequence

construct/mc magic sequence: a task in MathConstructOptimize-Envs-harbor (Harbor dataset). A magic sequence of length 4 is a sequence x 0 , x 1 , ..., x 3 of non-negative integers such that for every i in 0..3, x i equals the number of times the value i occurs in the sequence.

The task

A magic sequence of length 4 is a sequence x[0], x[1], ..., x[3] of non-negative integers such that for every i in 0..3, x[i] equals the number of times the value i occurs in the sequence.

Part of amphora/MathConstructOptimize-Envs-harbor.