Goal: find 1 equation to generate -4,2,10,6,3 on looping
- Output
-4on 1st iteration - Output
2on 2nd iteration - Output
10on 3rd iteration - Output
6on 4th iteration - Output
3on 5th iteration
In each iteration you can do whatever you want, except explicitly output the number.
You can fit a fifth-degree polynomial to get an answer; for this there are standard techniques you can look up. Unfortunately, it's probably "overfitting" and won't be terribly useful for modeling any real-world situation.