HF RL Explorer

construct/mc debruijn

construct/mc debruijn: a task in MathConstructOptimize-Envs-harbor (Harbor dataset). A De Bruijn sequence B(6, 4) is a cyclic sequence x 0..1295 of length 6^4 = 1296 over the alphabet {0, ..., 5} in which every word of length 4 over that alphabet appears exactly once as a window x i , x i+1 , …

The task

A De Bruijn sequence B(6, 4) is a cyclic sequence x[0..1295] of length 6^4 = 1296 over the alphabet {0, ..., 5} in which every word of length 4 over that alphabet appears exactly once as a window x[i], x[i+1], ..., x[i+3] (indices taken modulo 1296).

Part of amphora/MathConstructOptimize-Envs-harbor.