A rather simple example is this one:
1 4 9 16 25 36 49 ....
3 5 7 9 11 16 ....
2 2 2 2 2 ....
We can clearly see it's:
$$ (i+1)^2 $$
but my question is how to do find the formula in general? I'm struggling with this one:
2 3 5 8 12 17 23 ....
1 2 3 4 5 6 ....
1 1 1 1 1 ....
at the moment but maybe learning a general approach first will help.
You want to find a general formula for $(c_n)=2,3,5,8,12,17,23,30,...$?
Observe that $c_1=2$ and $c_n=(n-1)+c_{n-1}$ for $n\geq 2$ and thus $$c_n=c_1+\sum_{i=1}^{n-1}i=2+\frac{(n-1)n}{2}$$