#523. C二级辅导-等差数列

C二级辅导-等差数列

C二级辅导-等差数列

题目描述

p { margin-bottom: 0.21cm; }

sum=2+5+8+11+14+,输入正整数n,求sum的前n项和。

样例

输入

2

输出

7