[Math] finding explicit formula

recursionsequences-and-series

The question ask us to guess an explicit formula for the sequence

$$y_k = y_{k-1} + k^2 ,$$ for all integers $k$ greater than or equal to 2 and
$y_1 = 1$

Can someone help me with this?
so far what I got is this:
$y_2 = 1 + 2^2$
$y_3 = 1 + [2^2 + 3^2]$
$y_4 = 1 + [2^2 + 3^2 + 4^2]$

How do I convert those in the bracket into a formula?
Thanks in advance.

Best Answer

This is a well known series, given by $y_k= 1/6\, k(k+1)(2k+1)$. There are several methods to prove it. One of the standard approaches is by induction. A simple and intuitive method is the following:

1 - write the sequence of differences between consecutive terms: $1, 4, 9, 16...$;

2 - write the sequence of differences between consecutive terms of the previous sequence: $1, 3, 5, 7...$;

3 - again, write the sequence of differences between consecutive terms of the previous sequence: $2, 2, 2, 2...$.

Because the terms of this third sequence are constant, the sum is a cubic of the form $ak^3+bk^2+ck+d$. Since the sum is zero for $k=0$, it follows that $d=0$. Then, we can identify coefficients rewriting the equation $ak^3+bk^2+ck$ with $k=1$, $k=2$, and $k=3$ (for which we know the corresponding results $1, 5, 14$) obtaining the following three equations:

$$a+b+c=1$$

$$8a+4b+2c=5$$

$$27a+9b+3c=14$$

The, we can solve the system, getting $a=1/3$, $b=1/2$, and $c=1/6$. This leads to

$$1/6\,(2k^3+3k+k)=1/6 \, k(k+1)(2k+1)$$

Related Question