I'm looking for a way to convert 4 numbers into 1 number, then convert that 1 number back into the original inputs with no knowledge of said inputs.
- 4 Numbers
- Convert into 1 number (summing/multiplying/anything)
- Use the result to generate the original 4 numbers.
Example:
Four Original numbers: a = 2; b = 5; c = 10; d = 1;
Combined number: x = 2 + 5 + 10 + 1 x = 18
One function or 4 functions to generate original numbers only using x: f(x) --> a = 2; b = 5; c = 10; d = 1;
(9 numbers would also be appreciated if this problem is possible)