I believe these are "challenge" problem (for extra credit) - where often the questioner provides a foot-note "If you can solve this problem - you are better than me!"
As to the infinite solutions - in general those solutions will not provide the "exact" integer output.
I am guessing this - because I was "pressed through" that torture mill.
These are puzzles, not math problems. Yes, often one can, with perseverance, find a "pattern" that produces it without resorting to fifth degree polynomials and the like, but that is a "skill" that is worthless. It does not make one person "better" than another, except for being more willing to waste the time.
Yes, the coefficients of the polynomial are often irrational, so that the result is not exact; but not always. One such puzzle you asked of me privately was
Find the value of X in this sequence:
11,6,5,9,16, X
Options:
66.5
78.5
89.5
42.5
31.5
I found the formula a_n = -1/8*n^4 + 17/12*n^3 - 27/8*n^2 - 35/12*n + 16. Using this formula, the 6th term turns out to be 21, exactly. This is not one of the choices, but is considerably "nicer" than any of them. And what were you saying about "exact integer output"?
The On-Line Encyclopedia of Integer Sequences SEE HERE is the largest collection of integer sequences in existence. It was founded in 1964.
I copied the post '7, 9, 12, 48, ?, 890' pasted it into that site replacing the ? with each of the four options. In each case there was no corresponding sequence on record. That makes me think that this question is not worthwhile to work on. I cannot think of a time when I did not find at least one sequence which matched part of the sequence about which I asked.
I would say, rather, that the sort of "pattern" they seem to like for the more complicated of these puzzles is not mathematically interesting, so it is not covered by OEIS. And that correlates well with the judgment that it is not worth the time.
Actually yes, the pattern is consistent in the sense that when we are traveling from the odd term to even term everytime we are adding and from even to odd we are subtracting.
But the Syntax is same but addition and subtraction Will alternatively put into effect
Yes, there is a "pattern" involved.
The trouble that such a "pattern", with successive terms determined by alternate operations with changing numbers, has more parameters than the number of terms given. What they think of as a "pattern" is not justified by the information provided. In particular, when you finally find something that yields an answer in the list, there is no reason to be sure that is what they intended, so there is no real feeling of satisfaction such as a real math problem produces; you just happened to get the same result someone else got.
Bottom line: I don't find it worth the time to try to find alternative "patterns" for different results.