题解 | #尼科彻斯定理#
尼科彻斯定理
http://www.nowcoder.com/practice/dbace3a5b3c4480e86ee3277f3fe1e85
# -*-coding:utf-8-*-
while True:
try:
input_m = input()
int_num =int(input_m)
fist_js = int_num**2-int_num+1
for i in range(0,int_num):
if i == int_num-1:
print((str(fist_js+2*i)))
else:
print((str(fist_js+2*i)),end="+")
except:
break