As a final result, I need a computer program that can receive a list of inputs and outputs, and then apply the same algorithm that was included in this input / output on another number, Ie:
If a given I / O list
2:4
4:8
100:200
It would be clear that the algorithm would be (input * 2) or (output / 2) depending on what we wanted.
So, if you set the number 16 and ask for an output, the program will answer 32. And if you set the number 10 and ask for input, it will answer 5.
Obviously, it would be quite simple to “hard-write” this into a program, although I would like to know how the program will teach itself what an algorithm is. I understand that it will be quite complicated pretty quickly.