An additional complexity to the problem is that I have some characters, say "x", in the string which are not to be counted, i.e.
aaaabccbaxxxcbddadcc...
So if n=3 as in the example any substring of size 3 that includes an x needs to be ignored and not counted.
Any ideas on that?In reply to Re: Permutation with repetitions
by umeboshi
in thread Permutation with repetitions
by umeboshi
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |