Project Euler #235: An Arithmetic Geometric sequence

Problem Name:
Project Euler #235: An Arithmetic Geometric sequence
Site:HackerRank
Links:
Tags:
Problem setters: