So the question is "kinda" simple. But i don't think that the answer exist.
I have function ( usually simple ones )
(for example) f(x) = x*2;
And two sets of numbers
(for example) ( 2,4,6,8 ) and ( 10,12,14,16 )
So the question is - is there a way to find that those two sets are generated by the same function without computing every value of the function?
So here is what i can do. I can calculate function for certain ammount of values. From 1 to 10 ( f(1) = 2; f(2) = 4 ect.. ), and then compare results. But i don't want to do that. I want to do as little as possible, and be able to say that those values are from the same function.
Is there a simple way?
PS: more examples of functions - f(x) = sin(x), f(x) = 1/x, f(x) = x^2 ect..