This is a famous rudimentary problem : how to use mathematical operations (not any other temporary variable or storage) to swap two integers A and B. The most well-known way is the following:
A = A + B
B = A - B
A = A - B
What are some of the alternative set of operations to achieve this?
I'm not sure if you're asking for all solutions or not, but one of the most famous solutions is by using binary xor three times. $A=A\oplus B,B=A\oplus B,A=A\oplus B$.