in reply to Re: (OT) A different kind of 'combinatorics'
in thread (OT) A different kind of 'combinatorics'

It seems that De Bruijn sequences are what you are searching for.

Yes. Thankyou!

As I assume that this is somewhat related to your quest of finding a misaligned sequence, you might be interested in the section "De Bruijn decoding", which hints at specially constructed sequences that can be mapped back to the position/offset in O(n log(n)) if you can't use a lookup table to convert the sequence value back to an offset.

Yes. I'm looking for a testing strategy to ensure that all patterns that can be found are.

And the "De Bruijn decoding" looks very interesting. Thanks again.


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". I'm with torvalds on this
In the absence of evidence, opinion is indistinguishable from prejudice. Agile (and TDD) debunked
  • Comment on Re^2: (OT) A different kind of 'combinatorics'