Arithmetic Progressions

CodeChef - COUNTARI