Problem AH: 【循环嵌套】尼科梅彻斯分解式

Memory Limit:128 MB Time Limit:1.000 S
Judge Style:Text Compare Creator:
Submit:233 Solved:50

Description

任何一个整数n的立方都可以写成n个相邻奇数之和。这就是著名的尼科梅彻斯(Nicomachus)定理。
1(3)=1
2(3)=3+5=8
3(3)=7+9+11=27
编程求出输入的N以内的数的尼科梅彻斯分解式。
n<=100;

Input

一个整数

Output

一行,一个等式

Sample Input Copy

3

Sample Output Copy

3(3)=7+9+11=27

Source/Category