When I studied calculus at my university there is one question that I hated the most which is given a finite number of terms for some sequence find the $n-$th term. I hated this type of question because there is obviously not a single answer to this question for example: what is the nth term of this sequence $1,2,4,8,16, \dots$? For any complex number $z$ I can make this sequence
$$\frac{-(n-2)(n-3)(n-4)(n-5)(n-6)}{5!} +\frac{2(n-1)(n-3)(n-4)(n-5)(n-6)}{4!} -\frac{4(n-1)(n-2)(n-4)(n-5)(n-6)}{12} +\frac{8(n-1)(n-2)(n-3)(n-5)(n-6)}{12} -\frac{16(n-1)(n-2)(n-3)(n-4)(n-6)}{4!} +\frac{z (n-1)(n-2)(n-3)(n-4)(n-5)}{5!} $$
This would make $z$ is what comes next after $16$.
This sequence might seem complicated but it is really easy to find any arbitrary sequence that contain $n$ terms for a sequence $x_1,x_2,\dots,x_n$ let $J=\{1,2,\dots,n \}$ the general sequence is just $$\sum_{k=1}^n x_k \frac{\prod\limits_{i\in J | i \ne k} (n-i)}{\prod\limits_{i\in J | i \ne k} (k-i)}$$
the only problem is how to compute $\prod\limits_{i\in J | i \ne k} (k-i)$? I tried to find an easy way to find the general but I failed.