bluejay27 said:
I am struggling in finding the general terms for other sequences... Is there a book that will help me explain this? That directly tackles finding the general expression from the terms?
If you have a finite number of terms, there are infinitely many different formulae that will produce those finite number of terms. So, to have a well-posed mathematical problem, you have to be more specific about the type of formulae that you will consider (e.g. polynomials versus rational functions versus transcendental functions).
A squence can be considered as a special case of (x,y) data where x = the index of the term. (e.g the sequence 2, 7, 0, -3,... and be considered as (1,2) (2,7) (3,0) (4,-3),... ) Under the topic of "curve fitting" or "interpolation" you can look up methods to fit functions to curves so they pass exactly through some given (x,y) points. For example, if you want to fit a polynomial to such a sequence, you can study the lagrange interpolating polynomial (
http://mathworld.wolfram.com/LagrangeInterpolatingPolynomial.html )If you have an algorithm for generating an arbitrary finite number of terms then what is mathematically known about finding a algebraic formulae that produces those terms depends on the type of algorithm. For example, in the particular case that the algorithm is a recursion like ## y_{n+2} = 1 - 2y_{n+1} + y_{n} ## you can study recursion relations
https://en.wikipedia.org/wiki/Recurrence_relation which are treated in books on the "Calculus Of Finite Differences" or "Difference Equations" (
https://www.amazon.com/dp/0486650847/?tag=pfamazon01-20)
There can be types of algorithms where no simple algebraic formulas for reproducing their terms is known - and perhaps cases where no simple algebraic formulae exist. (
https://en.wikipedia.org/wiki/Collatz_conjecture ).