题解 | #等差数列#
等差数列
http://www.nowcoder.com/practice/f792cb014ed0474fb8f53389e7d9c07f
while True:
try:
n = int(input())
temp = []
while len(temp) < n:
for i in range(n):
x = 2 + 3 * i
temp.append(x)
a = sum(temp)
print(a)
except:
break 
