using System; public class Program { static int Progression(int a, int d, int n) { int currentNum; currentNum = a;