I am working through some sequence problems and am a bit stuck.
We are told to write the explicit formula for two sequences and then find $a_{100}$ and $a_{20}$ respectively. The two sequences are the following:
$S_1 = \{1, 3, 6, 10, 15, 21,...\}$
$S_2 = \{0, 3, 8, 15, 24,...\}$
These are both two famous sequence problems (the first being the pyramid problem).
What I have done is found the difference between each of the terms in the sequence with the preceding term. We then get for $S_1$:
$a_1 \ | \ a_2 \ | \ a_3 \ | \ a_4 \ | \ a_5...$
$1 \ \ |\ \ 3 \ \ |\ 6 \ \ |\ 10 \ \ |\ 15 \ |\ 21...$
$\ \ \ |+2|+3|+4|+5|+6...$
It is clear here that we are adding n to the preceding term. The recursive formula then goes as the following: $a_n = a_{n-1} + n$
For the explicit formula however I am a bit stuck.
The book solution explains that we take: $$a_n = 1 + 2 + 3 + \ ... \ + (n-2) + (n-1) + n$$
write it as:
$$a_n = n + (n-1) + (n-2) + \ ... \ + 3 + 2 + 1$$
and then add these two equations together to eventually derive $a_n = {1 \over 2}n(n+1)$
Here I am completely stuck. How did we get these two original equations, why did we add them, and how did we know how to do this? Is this just a derivation of a common formula that we are expected to know/memorize? If I had never seen this problem before what would have been the intuition here/way to find this solution?
For the second problem, I am a bit clearer on the sequence:
We are given:
$S_2 = \{0, 3, 8, 15, 24,...\}$ and clearly this is one less than the square of $n$ for each number resulting in an explicit formula of $a_n = n^2 - 1$. My only concern is that say you did not immediately notice that the was one less than the square of each number, how would you have derived this value? Again, are you just expected to know this and memorize it?
I am struggling a little bit with the intuition here. To me, it seems like these are just two examples that are expected to be memorized.
If anyone could provide any help, suggestions, links to resources, or intuition to solving either of these two problems that would be greatly appreciated. Thanks.
Your concerns about "how would I know to do this in order to derive that?" are completely legitimate, and unfortunately in general there is no systematic way to find an explicit formula for the $n$-th term $a_n$ of a sequence given only a recursive formula for the sequence. It's not like an algebra question where $2x+1=3$ and you can easily figure out that $x=1$, as you advance more and more in math, you'll find that these kinds of systematic methods largely do not exist (or maybe have not been discovered?), and you really have no choice but to rely on your intuition and observational skills. But trust me, as you get more and more exposure, it will become easier and more natural the farther you go :)