a(n) = n^3 & a(n) = n^ 2 数列求和 a(n) = n ^ 2; S(n) = n * (n + 1) * (2 * n + 1) / 6; a(n) = n ^ 3; S(n) = n * n * (n + 1) * (n + 1) / 4;