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.
In reply to Re^2: (OT) A different kind of 'combinatorics'
by BrowserUk
in thread (OT) A different kind of 'combinatorics'
by BrowserUk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |