Hello,
I’m looking for an algorithm which would generate a De Bruijn-like sequence with no direct repetition : I mean that a letter should not be directly followed by the same letter.
In my project, I need to generate such a sequence with an alphabet of size k=3 and order n=5.
Is there such an algorithm ?
thanks !