DeBruijnSequence

As of Version 10, most of the functionality of the Combinatorica package is built into the Wolfram System. >>

DeBruijnSequence[a,n]

returns a De Bruijn sequence on the alphabet a, a shortest sequence in which every string of length n on alphabet a occurs as a contiguous subsequence.

Details

See Also

DeBruijnGraph  EulerianCycle  Strings

Tutorials