On Mar 11, 2:16 am, greg <g... at cosc.canterbury.ac.nz> wrote: > MonkeeSage wrote: > > this ... requires that M be evenly divisible by N, > > No, it doesn't -- I never said the numbers had > to be *equal*. Sorry for not being clear. I was refering to my specific implementation of the algorithm, not the generic design pattern. Regards, Jordan