Help me find a function with these properties

Status
Not open for further replies.

zefreh

Junior Member level 3
Joined
Oct 1, 2005
Messages
25
Helped
4
Reputation
8
Reaction score
1
Trophy points
1,283
Activity points
1,439
Hi all
I need a function that has the following property :

It has any arbitrary inouts ( for example a,b,c,d )
f(a,b,c,d)=A
f(R,b,c,d)=B
f(R,S,c,d)=C
f(R,S,T,d)=D
But
f(R,S,T,U)=A (Note that f(a,b,c,d)=A )
A,B,C,D,R,S,T,U are also arbitrary integers.
also this function must be stateless and no memory.
Regard.
 

Re: Find this function

I think your problem cannot be solved.

Examine these subportions of your problem statement
f(R,S,T,U)= f(a,b,c,d)=A
A,R,S,T,U are also arbitrary integers.
"arbitrary inouts ( for example a,b,c,d ) "

How can we require
f(R,S,T,U)= f(a,b,c,d)=A
when all the input and output values are delcared "arbitrary:

IF we are given A ahead of time, we could define
f(a,b,c,d)=A
(does not depend on input arguments), and it would satisfy your requirements.
 

Re: Find this function

Note that I want equation f(R,S,T,U)= f(a,b,c,d)=A can established with a probability not at all times !
 

Status
Not open for further replies.

Similar threads

Cookies are required to use this site. You must accept them to continue using the site. Learn more…