[math-fun] period of fibonacci sequence mod n