i want to know if there is a function for example that gives the same result for a set of noncontiguous reals. i want to have these results
f(10)=25 f(25)=25 f(34)=25 f(85)=25 f(14)=25 f(13)=25 for example
in fact i have:
- A number between 1 and 536870912
- Several sets of noncontiguous numbers
- A black box which must do a transformation to the sets
- Each transformation must be unique and gives a number between 1 and 255
I want to know which thing (function or anything else ) that i can have in the black box that does this transformation?
{4, 212, 10, 35000} ==> f(x) ==> 250
{584, 12, 140, 5} ==> f(x) ==> 15
I mean passing a given set by f(x) gives always the same result for the passed set
or i can imagine that for each element of a set i can have
f(4)=250, f(212)=250, f(10)=250, f(35000)=250
Thank you