From: Martin DeMello Date: 2008-09-26T18:58:04+09:00 Subject: Re: [SUMMARY] One-Liners Mashup (#177) On Fri, Sep 26, 2008 at 1:48 AM, Sebastian Hungerecker wrote: > > It works like this: > http://img243.imageshack.us/img243/9296/perwt4.png > It simply divides until the remainder repeats itself (storing the position > where each remainder occured in a hash) and then returns the difference > between the first position where the remainder occured (i.e. the start of the > period) and the current position. Neat :) martin