in reply to Re^2: Algorithm inspiration required.in thread Algorithm inspiration required.
I COMPLETELY misunderstood what you wanted to do, my take is for a finite and known pattern to detect. sorry