Lucky strings
Fierce Battles - iterate over an array
Approximately - wolfram alpha to compute periods