Beginning to calculate recurring cycle
Correctly calculating size of recurring cycle
Finding number with biggest cycle
From map to for, shorter