通用编程基础-等差数列计算