Sequence Sum Calculator - Coding problem | OneNoughtOne