Let's say I have these 7 natural numbers (all between 0 and 255):
255, 23, 45, 32, 87, 52, 146
How can I find a function F(x) that, once computed, gives me back these values, ie.
f(1) = 255 f(2) = 23 f(3) = 45 ...
I'm not sure what's the technical term to use for this, but I trust you got the picture.
All the above numbers are just examples (except that all values are natural number between 0 and 255).
All I really care is that I need the simplest possible function that can give me such result, be it polynomial, quartic or any other type of function.
I used to be good at math, but it's been at least 10 years since I took my last math class, so please bear with me!
Thanks in advance!