It is easy to see that the length must be equal to $number_of_patters + $size_of_pattern - 1 as a new pattern is introduced at every bit offset.
Correct. I'd worked out that for 4, 19 had to be the minimum length, but I wasn't convinced that it could be done in the minimum length.
Now you've pointed it out, it is becomes obvious that it can only be done in the minimum length; else you'd have dups.
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: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |