joeyh at 2014-12-29T16:00:03Z
Hmm, I could use modulus, couldn't I? 5 % 3 is 2, which is more than half of 3, so subtract one.