1437: 中级班第六课——尼科梅彻斯(Nicomachus)定理

Memory Limit:128 MB Time Limit:1.000 S
Judge Style:Text Compare Creator:
Submit:56 Solved:29

Description



  任何一个整数的立方都可以写成一串奇数之和。这就是著名的尼科梅彻斯(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