in reply to Re^3: Generic De Bruijn Sequence
in thread Generic De Bruijn Sequence

but check the length of his results, either way they are inconsistent and hence wrong.

I've only had need to explore DeBruijn with a binary alphabet, so I'll defer to your judgement.


With the rise and rise of 'Social' network sites: 'Computers are making people easier to use everyday'
Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
"Science is about questioning the status quo. Questioning authority". The enemy of (IT) success is complexity.
In the absence of evidence, opinion is indistinguishable from prejudice. Suck that fhit

Replies are listed 'Best First'.
Re^5: Generic De Bruijn Sequence
by LanX (Saint) on Apr 20, 2017 at 00:46 UTC
    > ad need to explore DeBruijn with a binary alphabet,

    Binary alphabet seems easy, a bit of searching produced a "prefer ones" algorithm.

    From SO

    > Prefer Ones is quite simple: Write n zeros. Then, always write a one unless it would cause the repetition of an n-length string; otherwise, write a zero.

    HTH

    Cheers Rolf
    (addicted to the Perl Programming Language and ☆☆☆☆ :)
    Je suis Charlie!