Project Euler #26: Reciprocal cycles