Math: Check how to implement geometric and arithmetic series as recursion.