题解 | #尼科彻斯定理#
尼科彻斯定理
https://www.nowcoder.com/practice/dbace3a5b3c4480e86ee3277f3fe1e85
m = int(input())
m_cube = m ** 3
odd = []
if m % 2 == 1:
    first = int(m ** 2 - (m // 2) * 2)
else:
    first = int(m ** 2 - (m // 2) * 2 + 1)
odd.append(first)
for i in range(2, m * 2, 2):
    num = first + i
    odd.append(num)
out = '+'.join(str(i) for i in odd)
print(out)
