A fairly easy problem, testing your understanding of special sequences called arithmetic progressions. Also, prime factorization of given number is the key here.