uhm...I have a very simple solution here...
entry 1:
XOR:
f(x,y) = 0^(0^((1+x)mod(1+y)));
entry 2:
XOR:
f(x,y) = 0^(0^(x-y)); ,x>=y
f(x,y) = 0^(0^(y-x)); ,x<y
you know 0^0 == 1 , you can use that to convert logic into mathematics.
f(5,5) == 0
f(5,6) == 1
f(6,0) == 1
f(0,0) == 0
He wants the bitwise XOR of the values:
XOR(5,5) = 0
XOR(5,6) = 3
XOR(6,0) = 6
XOR(0,0) = 0
So your formula does not give the correct results, however, mine does
