construct/mc debruijn
construct/mc debruijn: a task in MathConstructOptimize-Envs-harbor (Harbor dataset). A De Bruijn sequence B(2, 9) is a cyclic sequence x 0..511 of length 2^9 = 512 over the alphabet {0, ..., 1} in which every word of length 9 over that alphabet appears exactly once as a window x i , x i+1 , ..., x…
The task
A De Bruijn sequence B(2, 9) is a cyclic sequence x[0..511] of length 2^9 = 512 over the alphabet {0, ..., 1} in which every word of length 9 over that alphabet appears exactly once as a window x[i], x[i+1], ..., x[i+8] (indices taken modulo 512).